Skip to content

Commit

Permalink
small bufix in ptypy.plot when saving to an img
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoernenders committed Mar 15, 2018
1 parent 61dc3a8 commit 3c028a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/ptypy.plot
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Plotter.plot_fig.canvas.mpl_connect('close_event', handle_close)
#Plotter.plot_fig.canvas.mpl_connect('resize_event', handle_resize)

if save is not None:
Plotter.plot_fig.savefig(sys.argv[3],dpi = 300)
Plotter.plot_fig.savefig(save, dpi = 300)
else:
while Plotter:
#Plotter.plot_all()
Expand Down

0 comments on commit 3c028a4

Please sign in to comment.