Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix #5281: Include ticks in tight bounding box#5502

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
mdboom wants to merge0 commits intomatplotlib:masterfrommdboom:tight-ticks

Conversation

mdboom
Copy link
Member

No description provided.

@mdboommdboom added this to thenext major release (2.0) milestoneNov 17, 2015
@@ -568,7 +568,7 @@ def get_window_extent(self, renderer):
ignore=True)
# correct for marker size, if any
if self._marker:
ms = (self._markersize / 72.0 * self.figure.dpi) * 0.5
Copy link
Member

Choose a reason for hiding this comment

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

What is this change for? I assume the issue is that with out this out ticks still get chopped?

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

Yes. The assumption that markers only fill (-0.5, 0.5) is only true for circles. Ticks fill (0, 1) or (-1, 0) depending on "in" or "out".

@tacaswell
Copy link
Member

Also breaks every single tight_layout test

@mdboom
Copy link
MemberAuthor

Not surprised it breaks tight layout tests. Will probably need to tie this change to_internal.classic_mode.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Projects
None yet
Milestone
v2.0.0
Development

Successfully merging this pull request may close these issues.

3 participants
@mdboom@tacaswell@QuLogic

[8]ページ先頭

©2009-2025 Movatter.jp