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

Backport PR #22732: FIX: maybe improve renderer dance#22783

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

Conversation

tacaswell
Copy link
Member

Merge pull request#22732 from jklymak/fix-renderer-dance

FIX: improve cached renderer dance
(cherry picked from commit9e0eb54)

The changes had to be moved to figure.py due to a major refactoring that will
be released in 3.6 that is already on main.

Merge pull requestmatplotlib#22732 from jklymak/fix-renderer-danceFIX: improve cached renderer dance(cherry picked from commit9e0eb54)The changes had to be moved to figure.py due to a major refactoring that willbe released in 3.6 that is already on main.
@tacaswelltacaswell added this to thev3.5.2 milestoneApr 4, 2022
@tacaswell
Copy link
MemberAuthor

This should be reviewed carefully because it is essentially a different patch than in#22783 due to code having moved around.

@jklymak
Copy link
Member

@tacaswell I took the liberty of pushing a typo fix to your branch....

@tacaswell
Copy link
MemberAuthor

I manually tested the two cases again

importmatplotlib.pyplotaspltplt.rcParams['figure.autolayout']='True'plt.plot([1,2,3], [1,2,3],'o-')plt.title(r'$\sum_{i=0}^{\infty} x_i$ just a test')plt.savefig('/tmp/test2.eps',format='eps')

(interactively)

frommatplotlibimportpylabaspltplt.rcParams['savefig.format']='pdf'plt.ion()fig,ax=plt.subplots()ax.plot([0,1])fig.tight_layout()

and both appear to work.

@tacaswelltacaswell merged commit0734a70 intomatplotlib:v3.5.xApr 5, 2022
@tacaswelltacaswell deleted the auto-backport-of-pr-22732-on-v3.5.x branchApril 5, 2022 17:45
@tacaswell
Copy link
MemberAuthor

I may have jumped the gun on merging this, sorry about that.

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

Successfully merging this pull request may close these issues.

2 participants
@tacaswell@jklymak

[8]ページ先頭

©2009-2025 Movatter.jp