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: G = Graphics()
sage: G = line2d([(0,0), (1,1)])
sage: G.legend(True)
sage: G.show()
...
.../graphics.pyc in
2661 leg = subplot.legend(prop=prop, **lopts)
2662 if leg is None:
-> 2663 sage.misc.misc.warn("legend requested but no items are labeled")
2664 else:
2665 # color
AttributeError: 'module' object has no attribute 'warn'
This is the kind of things that should have been in a doctest!!
This is the kind of things that should have been in a doctest!!
Component: graphics
Keywords: bug, thursdaysbdx
Reviewer: Markus Wageringel
Issue created by migration from https://trac.sagemath.org/ticket/24303
The text was updated successfully, but these errors were encountered: