You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Set matplotlib version restrictions for conda releases #227
File "ultraplot_colorbar_bug.py", line 14, in <module>
ax.colorbar(im, label='Example Value')
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "virtual_environments/mamba_envs/ultraplot/lib/python3.13/site-packages/ultraplot/axes/base.py", line 3263, in colorbar
return self._add_colorbar(mappable, values, loc=loc, align=align, **kwargs)
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "virtual_environments/mamba_envs/ultraplot/lib/python3.13/site-packages/ultraplot/internals/warnings.py", line 118, in _deprecate_kwargs_wrapper
return func_orig(*args, **kwargs)
File "virtual_environments/mamba_envs/ultraplot/lib/python3.13/site-packages/ultraplot/axes/base.py", line 1353, in _add_colorbar
for label in obj._long_axis().get_ticklabels():
^^^^^^^^^^^^^^
AttributeError: 'Colorbar' object has no attribute '_long_axis'. Did you mean: 'long_axis'?
You are using matplotlib 3.10 or above which is currently not supported.
For context we are waiting for basemap to update before we can update because basemap is not supporting the latest versions of numpy at the moment.
I see, thanks (as always!) for the quick answer! In this case, maybe the requirement for matplotlib<3.10 should also be included in the conda recipe for the time being? I originally checked my issue above with a fresh conda environment. It seems, currently this is not reflected in conda, see https://github.com/conda-forge/ultraplot-feedstock/blob/main/recipe/meta.yaml
Activity
cvanelteren commentedon May 21, 2025
You are using matplotlib 3.10 or above which is currently not supported.
For context we are waiting for basemap to update before we can update because basemap is not supporting the latest versions of numpy at the moment.
cvanelteren commentedon May 21, 2025
Downgrading will fix your problem ;-)
Ockenfuss commentedon May 21, 2025
I see, thanks (as always!) for the quick answer! In this case, maybe the requirement for matplotlib<3.10 should also be included in the conda recipe for the time being? I originally checked my issue above with a fresh conda environment. It seems, currently this is not reflected in conda, see https://github.com/conda-forge/ultraplot-feedstock/blob/main/recipe/meta.yaml
cvanelteren commentedon May 21, 2025
@beckermr can you address this^
[-]Colorbars are broken in ultraplot 1.50.2?[/-][+]Set matplotlib version restrictions for conda releases[/+]beckermr commentedon May 21, 2025
Yes I can fix this today. I thought we had solved MPL 3.10 compat in this PR: #33
I guess since it is not in our test matrix, we are not keeping up to date.
beckermr commentedon May 21, 2025
PR here: conda-forge/conda-forge-repodata-patches-feedstock#1029
Plus I adjusted the feedstock