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

Added 'set_aspect' and set_aspect_equal function#257

Merged
lava merged 1 commit into
lava:master from
pnarvor:aspect-control
Apr 2, 2021
Merged

Added 'set_aspect' and set_aspect_equal function #257
lava merged 1 commit into
lava:master from
pnarvor:aspect-control

Conversation

@pnarvor

@pnarvor pnarvor commented Mar 31, 2021
edited
Loading

Copy link
Copy Markdown

Added a "set_aspect(Numeric ratio)" and "set_aspect_equal()" function.

Nothing too fancy. Respectively calls :

matplotlib.pyplot.gca().set_aspect(ratio)

and

matplotlib.pyplot.gca().set_aspect('equal')

I like the simplicity of your wrapper. Keep up the good work :)

lava commented Apr 2, 2021

Copy link
Copy Markdown
Owner

Thanks for contributing!

@lava lava merged commit 1875696 into lava:master Apr 2, 2021
Sign up for free to 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

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /