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
sage -t --long --random-seed=100018246794490849529549460423875336890 src/sage/tests/books/computational-mathematics-with-sagemath/sol/graphique_doctest.py
**********************************************************************
File "src/sage/tests/books/computational-mathematics-with-sagemath/sol/graphique_doctest.py", line 45, in sage.tests.books.computational-mathematics-with-sagemath.sol.graphique_doctest
Failed example:
g.show()
Exception raised:
Traceback (most recent call last):
File "/srv/public/kliem/sage/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 694, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/srv/public/kliem/sage/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 1088, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.tests.books.computational-mathematics-with-sagemath.sol.graphique_doctest[17]>", line 1, in <module>
g.show()
File "/srv/public/kliem/sage/local/lib/python3.7/site-packages/sage/misc/decorators.py", line 410, in wrapper
return func(*args, **kwds)
File "/srv/public/kliem/sage/local/lib/python3.7/site-packages/sage/plot/graphics.py", line 2136, in show
dm.display_immediately(self, **kwds)
File "/srv/public/kliem/sage/local/lib/python3.7/site-packages/sage/repl/rich_output/display_manager.py", line 851, in display_immediately
plain_text, rich_output = self._rich_output_formatter(obj, rich_repr_kwds)
File "/srv/public/kliem/sage/local/lib/python3.7/site-packages/sage/repl/rich_output/display_manager.py", line 643, in _rich_output_formatter
rich_output = self._call_rich_repr(obj, rich_repr_kwds)
File "/srv/public/kliem/sage/local/lib/python3.7/site-packages/sage/repl/rich_output/display_manager.py", line 601, in _call_rich_repr
return obj._rich_repr_(self, **rich_repr_kwds)
File "/srv/public/kliem/sage/local/lib/python3.7/site-packages/sage/plot/graphics.py", line 1003, in _rich_repr_
self.save, kwds, file_ext, output_container)
File "/srv/public/kliem/sage/local/lib/python3.7/site-packages/sage/repl/rich_output/display_manager.py", line 731, in graphics_from_save
save_function(filename, **kwds)
File "/srv/public/kliem/sage/local/lib/python3.7/site-packages/sage/misc/decorators.py", line 410, in wrapper
return func(*args, **kwds)
File "/srv/public/kliem/sage/local/lib/python3.7/site-packages/sage/plot/graphics.py", line 3350, in save
figure.tight_layout()
File "/srv/public/kliem/sage/local/lib/python3.7/site-packages/matplotlib/cbook/deprecation.py", line 411, in wrapper
return func(*inner_args, **inner_kwargs)
File "/srv/public/kliem/sage/local/lib/python3.7/site-packages/matplotlib/figure.py", line 2615, in tight_layout
pad=pad, h_pad=h_pad, w_pad=w_pad, rect=rect)
File "/srv/public/kliem/sage/local/lib/python3.7/site-packages/matplotlib/tight_layout.py", line 308, in get_tight_layout_figure
pad=pad, h_pad=h_pad, w_pad=w_pad)
File "/srv/public/kliem/sage/local/lib/python3.7/site-packages/matplotlib/tight_layout.py", line 84, in auto_adjust_subplotpars
bb += [ax.get_tightbbox(renderer, for_layout_only=True)]
File "/srv/public/kliem/sage/local/lib/python3.7/site-packages/matplotlib/axes/_base.py", line 4163, in get_tightbbox
renderer, for_layout_only=for_layout_only)
File "/srv/public/kliem/sage/local/lib/python3.7/site-packages/matplotlib/axis.py", line 1109, in get_tightbbox
ticks_to_draw = self._update_ticks()
File "/srv/public/kliem/sage/local/lib/python3.7/site-packages/matplotlib/axis.py", line 1021, in _update_ticks
major_locs = self.get_majorticklocs()
File "/srv/public/kliem/sage/local/lib/python3.7/site-packages/matplotlib/axis.py", line 1283, in get_majorticklocs
return self.major.locator()
File "/srv/public/kliem/sage/local/lib/python3.7/site-packages/matplotlib/ticker.py", line 2289, in __call__
return self.tick_values(vmin, vmax)
File "/srv/public/kliem/sage/local/lib/python3.7/site-packages/matplotlib/ticker.py", line 2297, in tick_values
locs = self._raw_ticks(vmin, vmax)
File "/srv/public/kliem/sage/local/lib/python3.7/site-packages/matplotlib/ticker.py", line 2280, in _raw_ticks
ticks = np.arange(low, high + 1) * step + best_vmin
ValueError: arange: cannot compute length
Component: graphics
Issue created by migration from https://trac.sagemath.org/ticket/32657
The text was updated successfully, but these errors were encountered: