Ticket #3392: trac_3392_doctest-fix.patch

File trac_3392_doctest-fix.patch, 0.9 kB (added by mabshoff, 4 months ago)
  • a/sage/plot/plot.py

    old new  
    23592359        a = float(options['alpha']) 
    23602360        s = int(options['pointsize']) 
    23612361        faceted = options['faceted'] #faceted=True colors the edge of point 
    2362         subplot.scatter(self.xdata, self.ydata, s=s, c=c, alpha=a, faceted=faceted) 
     2362        scatteroptions={} 
     2363        if not faceted: scatteroptions['edgecolors'] = 'none' 
     2364        subplot.scatter(self.xdata, self.ydata, s=s, c=c, alpha=a, **scatteroptions) 
    23632365 
    23642366class GraphicPrimitive_Polygon(GraphicPrimitive): 
    23652367    """