This commit is contained in:
parent
c380397000
commit
9689f4e45a
7959
Examples.ipynb
7959
Examples.ipynb
File diff suppressed because one or more lines are too long
@ -52,7 +52,11 @@ class Figure():
|
|||||||
figure, axes = plt.subplots()
|
figure, axes = plt.subplots()
|
||||||
# Add plots
|
# Add plots
|
||||||
for plot in self.plots:
|
for plot in self.plots:
|
||||||
axes.plot(*(plot[0]), **(plot[1]))
|
tmp_plots = axes.plot(*(plot[0]), **(plot[1]))
|
||||||
|
# Do not clip line at the axes boundaries to prevent extremas
|
||||||
|
# from being cropped.
|
||||||
|
for tmp_plot in tmp_plots:
|
||||||
|
tmp_plot.set_clip_on(False)
|
||||||
# Set properties
|
# Set properties
|
||||||
axes.set_xlabel(self.xlabel)
|
axes.set_xlabel(self.xlabel)
|
||||||
axes.set_ylabel(self.ylabel)
|
axes.set_ylabel(self.ylabel)
|
||||||
|
Loading…
Reference in New Issue
Block a user