endangeredoxen / fivecentplots

A Python plotting analgesic
https://endangeredoxen.github.io/fivecentplots
11 stars 6 forks source link

when show = False , the figure is not saved. #46

Closed KerenHagitStern closed 1 year ago

KerenHagitStern commented 1 year ago

when show = False the figure is not saved. the solution I found is to delete row 1614 under the plotter function: "if kwargs.get('save', False) or kwargs.get('show', False):"

Great package! thanks

endangeredoxen commented 1 year ago

Thanks for the kind feedback. This is expected behavior in v0.5.0. If you look at the docs here you see the default for keyword save is False. So if you want to save and not show, add save=True and show=False in your kwargs.

If you want to make and save plots in the background without showing them in a pop-up window or in a notebook output cell, you can also add inline=False and the plot will be saved in the background without displaying. Let me know if you have any questions about this