Skip to content

Conversation

bobmyhill
Copy link
Contributor

@bobmyhill bobmyhill commented Sep 20, 2023

This three-line PR modifies plotting of the TAS diagram:

  • removes the math-mode formatting of the elements in the axis-labels, keeping only the subscripts.
  • allows the user to specify font sizes for the field labelling
  • rescales the axes to avoid clipping the rhyolite field and more closely mirror the original Middlemost (1994) paper.

@morganjwilliams morganjwilliams added the enhancement New feature or request label Sep 21, 2023
@bobmyhill bobmyhill changed the base branch from main to develop September 21, 2023 08:13
@@ -455,10 +455,11 @@ def add_to_axes(
xy=(x, y),
ha="center",
va="center",
fontsize=kwargs.get("fontsize", 8),
Copy link
Owner

Choose a reason for hiding this comment

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

Probably also a way to pass this via subkwargs below, but this works and is transparent!

@morganjwilliams morganjwilliams merged commit 79d1a61 into morganjwilliams:develop Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants