Skip to content

added rcParam for x and y margin #1908

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 4 commits into from
Apr 17, 2013
Merged
Show file tree
Hide file tree
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
updated docs + changelog
  • Loading branch information
tacaswell committed Apr 16, 2013
commit 7c2688c63fcb851ae65c7441c4d62b28cbf1b9ed
3 changes: 3 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2013-04-15 Added 'axes.xmargin' and 'axes.ymargin' to rpParams to set default
margins on auto-scaleing. - TAC

2013-03-19 Added support for passing `linestyle` kwarg to `step` so all `plot`
kwargs are passed to the underlying `plot` call. -TAC

Expand Down
6 changes: 6 additions & 0 deletions doc/users/whats_new.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ revision, see the :ref:`github-stats`.

new in matplotlib-1.3
=====================
`axes.xmargin` and `axes.ymargin` added to rcParams
---------------------------------------------------
Copy link
Member

Choose a reason for hiding this comment

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

I think these fonts on github are monospace, in which case, would you mind making the underlining >= the length of the line being underlined?

Copy link
Member Author

Choose a reason for hiding this comment

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

The lengths look equal in my browser (and in emacs which I know is monospace)

rcParam values were added to configure the default margins
Copy link
Member

Choose a reason for hiding this comment

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

We may as well mention them here. Perhaps:

``rcParam`` values (``axes.xmargin`` and ``axes.ymargin``) were ...

Copy link
Member Author

Choose a reason for hiding this comment

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

done.

As a side note, what is the difference between '`' and '``' in sphinx?

used. Previously they were hard-coded to default to 0, default
value of both rcParam values is 0.


New eventplot plot type
-------------------------------------
Expand Down