In Sage's contour plots, the default colors shade from black to white.  
This applies to both the shades used to fill and the actual color of the 
contour lines.  If you turn off the fill color, the highest contour will be 
white-on-white, and thus invisible.  Here's an example (notice the label 
floating apparently in the middle of nowhere):

x,y = var('x,y')
pl = contour_plot(-10*(x^2+y^2), (x,-1,1), (y,-1,1), fill = False, labels = 
True, label_fontsize = 13).show()

You can fix this by making all the contour lines black.  The keyword 
cmap=[(0,0,0)] worked for me.

Can we change the defaults so that fill=False does not default to 
white-on-white?  Or add a keyword that will make all contour lines the same 
color?  Or at least add an example about this to the documentation?

--Ursula.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to