PySDM icon indicating copy to clipboard operation
PySDM copied to clipboard

fig_9.ipynb in deJong_et_al_2023 example fails with matplotlib >= 3.8.0

Open slayoo opened this issue 2 years ago • 2 comments

 ran Straub2010 for 32 superdroplets in 37.434369802474976 sec
----- stderr -----
/tmp/ipykernel_5842/3923770933.py:31: MatplotlibDeprecationWarning: The get_cmap function was deprecated in Matplotlib 3.7 and will be removed two minor releases later. Use ``matplotlib.colormaps[name]`` or ``matplotlib.colormaps.get_cmap(obj)`` instead.
  cmap = matplotlib.cm.get_cmap('viridis')
------------------

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Cell In[3], line 37
     33 dr = np.concatenate([dr, [dr[-1]]])
     35 legend_entries = []
---> 37 color = next(ax[0]._get_lines.prop_cycler)['color'] # pylint: disable=protected-access
     38 for (j, step) in enumerate(steps):  # pylint: disable=protected-access
     39     if step != 0:

AttributeError: '_process_plot_var_args' object has no attribute 'prop_cycler'

slayoo avatar Sep 15 '23 21:09 slayoo

Stale issue message

github-actions[bot] avatar Nov 15 '23 13:11 github-actions[bot]

addressed in #1235

slayoo avatar Jan 21 '24 10:01 slayoo

indeed addressed in #1235, so closing

slayoo avatar Jul 07 '24 03:07 slayoo