Re: Saving images created with d.plot

Xavier Flores

Dear Dmitriy,

It works perfectly on dionysus 2 on Ubuntu 16.04.

Thank you very much for your quick answer.



De: <> en nombre de Dmitriy Morozov <dmitriy@...>
Enviado: martes, 30 de octubre de 2018 11:11:02
Asunto: Re: [dionysus] Saving images created with d.plot
Hi Xavi,

Calling savefig() should just work, you only need to remove show=True from the example. So to tweak the example on the plotting page:

import matplotlib.pyplot as plt

Let me know if it works.

On Mon, Oct 29, 2018 at 7:09 PM <xavier.flores@...> wrote:


I would like to know if there is a quick way to save the plots generated by the plot_diagram and plot_bars. I know they use matplotlib, and I have tried to modify the file in the dionysus module to include the savefig feature, but I have not been successful. Any ideas?

Thanks for the help and keep up the amazing work,

Kind regards,


Join to automatically receive all group messages.