Skip to content

implemented support for asymmetric margins. - #2276

Closed
tacaswell wants to merge 3 commits into
matplotlib:masterfrom
tacaswell:asymentric_margins
Closed

tacaswell wants to merge 3 commits into
matplotlib:masterfrom
tacaswell:asymentric_margins

Conversation

@tacaswell

Copy link
Copy Markdown
Member

Addresses issue #1912

Changes the api in a backwards compatible way on Axes.set_xmargin, Axes.set_ymargin, and Axes3D.set_zmargin by adding an optional parameter.

Changes api in non-backwards compatible way in the return value of Axes.margins() (xmargin, ymargin) -> ((left, right), (bottom, top))and similar forAxes3D.margins()`.

Comment thread doc/api/api_changes.rst Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Spelling: -> arguments

@efiring

efiring commented Aug 10, 2013

Copy link
Copy Markdown
Member

How does this relate to #2263?

I'm not sure what to do about the return value change. In principle it would break user code. In practice, there might be very little user code that uses the return value.

@tacaswell

Copy link
Copy Markdown
Member Author

gah, sorry about that. I need to make sure the spell-checker actually runs an *.rst files.

I can convince my self that #2263 is both a good and bad idea, but it certainly conflicts with this branch.

@mdboom

mdboom commented Aug 12, 2013

Copy link
Copy Markdown
Member

The problem, as I see it, with #2263 is that it does something with Axis that should be handled in the Locator. Perhaps it makes sense to handle margins in the Locator, too...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants