gimli-org / transform2022

Repository for installation routines and Jupyter Notebooks for talk on Transform 2022
Apache License 2.0
6 stars 6 forks source link

Restrict matplotlib #1

Closed prisae closed 1 year ago

prisae commented 1 year ago

matplotlib>=3.5 with pygimli=1.2.5 results in a TypeError: int() argument must be a string, a bytes-like object or a number, not 'slice' for some plotting commands. Restricting therefore matplotlib.

halbmy commented 1 year ago

As the problem has been fixed with pygimli>=1.3 and the error is not related to the tutorials but pg in general, we could rather limit any pg<1.3 to mpl<3.5 so that the tutorials will work with both pyGIMLi=1.2 or 1.3.

On the other hand, all tutorials should be merged into pygimli.org so that the transform tutorials stay as historic marks.