chicolucio / pH-diagrams

A Python package to plot fractional composition diagrams and pH-log c diagrams
https://phdiagrams.herokuapp.com/
MIT License
4 stars 2 forks source link

[BUG] Notebooks do not work on Google Colab #14

Open chicolucio opened 2 years ago

chicolucio commented 2 years ago

Describe the bug Python version of Google Colab is too old (3.7) and the package requires >=3.8

To Reproduce Steps to reproduce the behavior:

  1. open notebooks with Colab link
  2. uncomment the lines at the first as request
  3. Does not work (should add src before ph_diagrams)
  4. Try install the package with pip install pH-diagrams
  5. Does not work

Expected behavior Just works...

Screenshots NA

Specification

Additional context

And that is how Google deals with it: https://github.com/googlecolab/colabtools/issues/2165 I'm considering drop Colab links...

All notebooks work in a local environment with Python >= 3.8.

Deepnote can be an alternative. But it has issues with ipywidgets:

chicolucio commented 2 years ago

Colab links removed in v.0.3.3. I will leave this issue open for a while, thinking about an alternative.