Dear Sir/Madam,_______________________________________________
I am a new user of kuibit and I would like to report a bug (at least that is how it appears to me) and a possible solution to it.
I am running Ubuntu through the Windows subsystem for Linux (Windows 10) and when trying to run a kuibit script to plot some data from the single star simulation tov_EV (https://github.com/EinsteinToolkit/jupyter-et/blob/master/tutorial-server/notebooks/CactusTutorial.ipynb), the following error is shown:
File "/home/USER/.local/lib/python3.10/site-packages/tikzplotlib/_axes.py", line 3, in <module>
from matplotlib.backends.backend_pgf import (
ImportError: cannot import name 'common_texification' from 'matplotlib.backends.backend_pgf'
Apparently the function "common_texification" has been discontinued and replaced by "_tex_escape" (as shown in matplotlib.backends.backend_pgf in the Spyder files - the Python compiler I use in Windows).
@_api.deprecated("3.6")
def common_texification(text):
return _tex_escape(text)
So, by replacing the instances of "common_texification" (6 I believe) by "_tex_escape" in the _axes.py module of the tikzplotlib library, the kuibit functions in Ubuntu seem to run smoothly.
I am a relatively inexperienced user of Ubuntu/WSL/Python and I am not sure how much this is considered a bug, but I hope that this could be useful for others.
Many thanks,
Rodrigo
--Dr. Rodrigo Berté
Goiânia-GO, Brazil
Users mailing list
Users@einsteintoolkit.org
http://lists.einsteintoolkit.org/mailman/listinfo/users