Opened 3 years ago

Last modified 3 years ago

#21042 new defect

Contour plot of zero fails with rich representation warning

Reported by: paulmasson Owned by:
Priority: major Milestone: sage-7.3
Component: graphics Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description (last modified by tmonteil)

Attempting the contour plot

var('x y')
contour_plot(0, (x,-1,1), (y,-1,1))

does not show a plot and fails with the error

/home/sc_serv/sage/local/lib/python2.7/site-packages/sage/repl/rich_output/ RichReprWarning: Exception in _rich_repr_ while displaying object: zero-size array to reduction operation minimum which has no identity

Graphics object consisting of 1 graphics primitive

Contour plots of nonzero values display as expected. It was reported on this ask question.

Change History (1)

comment:1 Changed 3 years ago by tmonteil

  • Description modified (diff)
Note: See TracTickets for help on using tickets.