Skip to content
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

144 set figure size and location #145

Merged

Conversation

bbean23
Copy link
Collaborator

@bbean23 bbean23 commented Aug 6, 2024

Background info: there are several matplotlib backends that are used to support the variety of systems on which matplotlib runs. Two of the most common backends are QT and Tkinter. This ticket add/modifies support for common figure management issues (location, size, and window maximization) for these two backends.

  • fix the figure location for the Tkinter backend
  • fix figure size control when saving
  • add figure maximization control

@bbean23 bbean23 added bug Something isn't working enhancement New feature or request labels Aug 6, 2024
@bbean23 bbean23 self-assigned this Aug 6, 2024
- figsize (tuple[float]): Size of the figure in inches. Default (6.4, 4.8)
- upper_left_xy (tuple[int]): Pixel placement for the first tile. (0,0) --> Upper left corner of screen. Default None
- grid (bool): Whether or not to draw grid lines. Note: this value seems to be inverted. Default True
Params:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Thank you for updating these docs

@e10harvey e10harvey merged commit b8ca8f7 into sandialabs:develop Aug 6, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants