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
706 stars 38 forks source link

pylustrator not working in google colab #60

Open AbbasHussain72 opened 1 year ago

AbbasHussain72 commented 1 year ago

plotting the data

import seaborn as sns import pylustrator pylustrator.start() sns.countplot(x = 'Tool',hue = 'Condition',data = df,palette=['blue', 'green']) plt.show()

when I run this code googlecolab session crashed

rgerum commented 1 year ago

well as colab does not run locally it cannot open a GUI window. The GUI window would need to be browser based for this. So pylustrator currently cannot support google colab. But well maybe a suitable error message might be better than crashing.

AbbasHussain72 commented 1 year ago

Thanks for replying

On Thu, 30 Mar 2023, 18:19 Richard Gerum, @.***> wrote:

well as colab does not run locally it cannot open a GUI window. The GUI window would need to be browser based for this. So pylustrator currently cannot support google colab. But well maybe a suitable error message might be better than crashing.

— Reply to this email directly, view it on GitHub https://github.com/rgerum/pylustrator/issues/60#issuecomment-1490292443, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVLK3LSDMBHQHUJE57VUAVLW6WB6FANCNFSM6AAAAAAWNGA7EY . You are receiving this because you authored the thread.Message ID: @.***>