This commit is contained in:
Lucas Verney 2016-03-01 17:14:56 +01:00
parent c380397000
commit 9689f4e45a
2 changed files with 3980 additions and 3985 deletions

File diff suppressed because one or more lines are too long

View File

@ -52,7 +52,11 @@ class Figure():
figure, axes = plt.subplots()
# Add 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
axes.set_xlabel(self.xlabel)
axes.set_ylabel(self.ylabel)