Source: poliastro Version: 0.17.0-2 Severity: normal poliastro is failing tests with matplotlib 3.8 from experimental
e.g. 278s /usr/lib/python3/dist-packages/numpy/ma/core.py:2360: TypeError 278s __________________________ test_axes_labels_and_title __________________________ 278s 278s def test_axes_labels_and_title(): 278s ax = plt.gca() 278s op = StaticOrbitPlotter(ax) 278s ss = iss 278s > op.plot(ss) 278s 278s tests/tests_plotting/test_static.py:24: 278s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 278s /usr/lib/python3/dist-packages/poliastro/plotting/static.py:277: in plot 278s lines = self._plot(orbit, label=label, color=color, trail=trail) 278s /usr/lib/python3/dist-packages/poliastro/plotting/_base.py:238: in _plot 278s colors = self._get_colors(color, trail) 278s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 278s 278s self = <poliastro.plotting.static.StaticOrbitPlotter object at 0x7fed97072060> 278s color = None, trail = False 278s 278s def _get_colors(self, color, trail): 278s if color is None: 278s # HACK: https://stackoverflow.com/a/13831816/554319 278s > color = next(self._ax._get_lines.prop_cycler)["color"] 278s E AttributeError: '_process_plot_var_args' object has no attribute 'prop_cycler' 278s 278s /usr/lib/python3/dist-packages/poliastro/plotting/static.py:73: AttributeError