rgerum / pylustrator

Visualisations of data are at the core of every publication of scientific research results. They have to be as clear as possible to facilitate the communication of research. As data can have different formats and shapes, the visualisations often have to be adapted to reflect the data as well as possible. We developed Pylustrator, an interface to directly edit python generated matplotlib graphs to finalize them for publication. Therefore, subplots can be resized and dragged around by the mouse, text and annotations can be added. The changes can be saved to the initial plot file as python code.
GNU General Public License v3.0
707 stars 37 forks source link

iPython support please #37

Closed kvngvikram closed 2 years ago

kvngvikram commented 2 years ago

Thanks for making pylustrator. Just that I mostly work in ipython prompt. So It will be really awesome if I can use this within ipython.

Maybe just do my usual stuff in ipython and then when I want to edit things call some magic function which will edit the currently active figure. And once customizing is done, just print the automatically generated code onto the screen instead of trying to edit any file (also just run them for me :) ).

I am not good enough to add this feature myself. At least give me a direction?

rgerum commented 2 years ago

Well I disabled it on purpose as it might confuse the user. But now I implemented it and print some warnings so that users do not get confused that the changes are not saved but just printed to the console output.