#16212: document SHOW_OPTIONS better
---------------------------+----------------------------
Reporter: kcrisman | Owner:
Type: enhancement | Status: new
Priority: minor | Milestone: sage-6.2
Component: graphics | Keywords:
Merged in: | Authors:
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
---------------------------+----------------------------
See [http://stackoverflow.com/questions/23233159/ this SO question].
Basically, we might as well have some examples showing you can easily
globally change some show option, like figsize or frame or something.
{{{
SHOW_OPTIONS = dict(filename=None,
# axes options
axes=None, axes_labels=None, axes_pad=.02,
base=None, scale=None,
xmin=None, xmax=None, ymin=None, ymax=None,
# Figure options
aspect_ratio=None, dpi=DEFAULT_DPI,
fig_tight=True,
figsize=None, fontsize=None, frame=False,
title=None, title_pos=None, transparent=False,
# Grid options
gridlines=None, gridlinesstyle=None,
hgridlinesstyle=None, vgridlinesstyle=None,
# Legend options
legend_options={}, show_legend=None,
# Ticks options
ticks=None, tick_formatter=None,
ticks_integer=False,
# Text options
typeset='default')
}}}
Like
{{{
sage.plot.graphics.Graphics.SHOW_OPTIONS['figsize']=2
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/16212>
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.