8000 refactor and bugfixes for plot_directive by matthew-brett · Pull Request #3257 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

refactor and bugfixes for plot_directive #3257

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

Merged
merged 5 commits into from
Jul 17, 2014
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
STY: typos in plot_directive docstrings
Well, behaviour -> behavior is against my origins, but hey, we're all
American now.
  • Loading branch information
matthew-brett committed Jul 14, 2014
commit d1388d35dcc382f6e3ea6843a4ecea6cccdf676f
8 changes: 3 additions & 5 deletions lib/matplotlib/sphinxext/plot_directive.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
plot_basedir
Base directory, to which ``plot::`` file names are relative
to. (If None or empty, file names are relative to the
directoly where the file containing the directive is.)
directory where the file containing the directive is.)

plot_formats
File formats to generate. List of tuples or strings::
Expand All @@ -111,7 +111,7 @@

plot_apply_rcparams
By default, rcParams are applied when `context` option is not used in
a plot directive. This configuration option overrides this behaviour
a plot directive. This configuration option overrides this behavior
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mdboom git blame informs me that you wrote this line, but it's too early for me to think of anything facetious to say regarding the use of superfluous 'u's.

and applies rcParams before each plot.

plot_working_directory
Expand All @@ -123,9 +123,7 @@
helper modules for all code are located.

plot_template
Provide a customized template for preparing resturctured text.


Provide a customized template for preparing restructured text.
"""
from __future__ import (absolute_import, division, print_function,
unicode_literals)
Expand Down
0