Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

document SHOW_OPTIONS better #16212

Open
kcrisman opened this issue Apr 23, 2014 · 0 comments
Open

document SHOW_OPTIONS better #16212

kcrisman opened this issue Apr 23, 2014 · 0 comments

Comments

@kcrisman
Copy link
Member

See 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

Component: graphics

Issue created by migration from https://trac.sagemath.org/ticket/16212

@kcrisman kcrisman added this to the sage-6.2 milestone Apr 23, 2014
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.2, sage-6.3 May 6, 2014
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.3, sage-6.4 Aug 10, 2014
@mkoeppe mkoeppe removed this from the sage-6.4 milestone Dec 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants