-
-
Notifications
You must be signed in to change notification settings - Fork 673
Closed
Description
sage: sage: region_plot(lambda x,y: x>y, (-4,4), (-4,4))
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
/mnt/usb1/scratch/jason/sage-4.3.1.rc1-x86_64-Linux/devel/sage-main/sage/<ipython console> in <module>()
/mnt/usb1/scratch/jason/sage-4.3.1.rc1-x86_64-Linux/local/lib/python2.6/site-packages/sage/plot/misc.pyc in wrapper(*args, **kwds)
136 options['__original_opts'] = kwds
137 options.update(kwds)
--> 138 return func(*args, **options)
139
140
/mnt/usb1/scratch/jason/sage-4.3.1.rc1-x86_64-Linux/local/lib/python2.6/site-packages/sage/plot/contour_plot.pyc in region_plot(f, xrange, yrange, plot_points, incol, outcol, bordercol, borderstyle, borderwidth)
561 f = [f]
562
--> 563 f = [equify(g) for g in f]
564
565 g, ranges = setup_for_eval_on_grid(f, [xrange, yrange], plot_points)
/mnt/usb1/scratch/jason/sage-4.3.1.rc1-x86_64-Linux/local/lib/python2.6/site-packages/sage/plot/contour_plot.pyc in equify(f)
626 import operator
627 from sage.calculus.all import symbolic_expression
--> 628 op = f.operator()
629 if op is operator.gt or op is operator.ge:
630 return symbolic_expression(f.rhs() - f.lhs())
AttributeError: 'function' object has no attribute 'operator'
CC: @kcrisman
Component: graphics
Author: Jason Grout
Reviewer: Ross Kyprianou
Merged: sage-4.3.3.alpha0
Issue created by migration from https://trac.sagemath.org/ticket/8004