#19451: Graph plot default options before first call to plot() fail
----------------------------+-----------------------------
Reporter: jmantysalo | Owner:
Type: defect | Status: new
Priority: minor | Milestone: sage-6.10
Component: group theory | Keywords:
Merged in: | Authors:
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
----------------------------+-----------------------------
{{{
sage: G = Graph({1:[2,3,4]})
sage: sage.graphs.graph_plot.DEFAULT_PLOT_OPTIONS['vertex_shape'] = 's'
---------------------------------------------------------------------------
AttributeError Traceback (most recent call
last)
<ipython-input-2-aa626427af43> in <module>()
----> 1 sage.graphs.graph_plot.DEFAULT_PLOT_OPTIONS['vertex_shape'] = 's'
AttributeError: 'module' object has no attribute 'graph_plot'
sage: G.plot()
Launched png viewer for Graphics object consisting of 8 graphics
primitives
sage: sage.graphs.graph_plot.DEFAULT_PLOT_OPTIONS['vertex_shape'] = 's'
sage:
}}}
I.e. I can set up default options for graph plotting, but only after
making at least one plot.
--
Ticket URL: <http://trac.sagemath.org/ticket/19451>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.