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

Adds options for grid margins to XYZ Plot and Prompt Matrix #7556

Merged
merged 1 commit into from
Feb 5, 2023

Conversation

EllangoK
Copy link
Collaborator

@EllangoK EllangoK commented Feb 5, 2023

Adds slider options for grid margins in the XYZ Plot and Prompt Matrix. Works with or without legends/text, and 0 margin leaves it as before.

Closes #4779

Changes

  • Modifies draw_prompt_matrix to also take in margin size
  • Fixes slight miscalculation with margin in draw_grid_annotations
  • Adds margin_size slider to XYZ Plot and Prompt Matrix, slightly rearranged UI to allow for it. (Default margin_size is 0)

Screenshots

XYZ Plot (Note it only affects the X/Y Grids, Z Grids are separated already by column labels)

xyz_grid-0048-491332782
image

Prompt Matrix

image
image

Environment this was tested in

  • OS: Windows
  • Browser: Firefox
  • Graphics card: NVIDIA GTX 1080

@AUTOMATIC1111 AUTOMATIC1111 merged commit ea9bd9f into AUTOMATIC1111:master Feb 5, 2023
tripc07 pushed a commit to tripc07/stable-diffusion-webui that referenced this pull request Feb 10, 2023
Adds options for grid margins to XYZ Plot and Prompt Matrix
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.

[Feature Request]: xy plot, "dividing" lines between batches
2 participants