It seems one now needs to specify the marker edge color.

This might have to do with the upgrade to matplotlib 2.2.2
in [Sage Trac ticket 25702](https://trac.sagemath.org/ticket/25702).

One can discover the existence of the optional argument `markeredgecolor`
by reading the documentation for `point` then for `point2d`.

Below, we recap the example in the question, with this novelty.

Plot the segments.

    sage: p1 = plot(2*x, x, 0, 1)
    sage: p2 = plot(-x+3, x, 1, 2)
    sage: p3 = plot(-(x-3)^3+2, x, 2, 3)

The filled in points.

    sage: pt1 = point((0, 0), rgbcolor='black', pointsize=30)
    sage: pt3 = point((1, 3), rgbcolor='black', pointsize=30)
    sage: pt4 = point((2, 1), rgbcolor='black', pointsize=30)
    sage: pt6 = point((3, 2), rgbcolor='black', pointsize=30)

The outlined but not filled in points.

    sage: pt2 = point((1, 2), rgbcolor='white', faceted=True, 
markeredgecolor='red', pointsize=30)
    sage: pt5 = point((2, 3), rgbcolor='white', faceted=True, 
markeredgecolor='red', pointsize=30)

Combine all the above.

    sage: (p1+p2+p3+pt1+pt2+pt3+pt4+pt5+pt6).show(xmin=0, xmax=3, ymin=0, 
ymax=3)
    Launched png viewer for Graphics object consisting of 10 graphics 
primitives

To explore the documentation or the code for `point` and `point2d`, do:

    sage: point?
    sage: point??
    sage: point2d?
    sage: point2d??

or

    sage: sage.plot.point.point?
    sage: sage.plot.point.point??
    sage: sage.plot.point.point2d?
    sage: sage.plot.point.point2d??

-- 
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 https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to