Skip to content

Fontsize update and VisualAstro V0.3.0 - #97

Merged
elkogerville merged 65 commits into
mainfrom
fontsize
Jul 31, 2026
Merged

Fontsize update and VisualAstro V0.3.0#97
elkogerville merged 65 commits into
mainfrom
fontsize

Conversation

@qiushitian

@qiushitian qiushitian commented Jul 31, 2026

Copy link
Copy Markdown
Collaborator

Fontsize Update :)

  • adds config.fontsizes which now replaces config.fontsize. config.fontsizes.size is the direct replacement.

  • config.fontsizes holds the base fontsize (.size), as well as the scaling factors for all the other fontsize properties of the figure (axes labels, tick labels, legend, etc).

  • config.fontsizes.update_rcparams will update the global rcparams of mpl so that they match the settings used by VisualAstro!

  • Changed the __repr__ so that it shows both the fontsize in pts and the scaling factor of each field in config.fontsizes

  • cleaned up config a little bit, ie. config.legend.fontsize now 'points' to config.fontsizes.legend.

  • wired up config.fontsizes to interface.py such that all VisualAstro plotting functions now use the fontsizes automatically

  • users can bypass the fontsizes either through the config, or by passing in the kwarg directly (ie label_fontsize)

  • note: should add more aliases for this
  • Now title, axes labels, axes tick labels, legend, cbar label, and cbar tick label fontsizes can all be changed
  • implement legend title

@elkogerville
elkogerville marked this pull request as ready for review July 31, 2026 18:00
@elkogerville elkogerville changed the title Fontsize update [draft] Fontsize update Jul 31, 2026
@elkogerville elkogerville changed the title Fontsize update Fontsize update and VisualAstro V0.3.0 Jul 31, 2026
@elkogerville elkogerville added documentation Improvements or additions to documentation enhancement New feature or request labels Jul 31, 2026

@shadowbehindthebread shadowbehindthebread left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

VA 0.3.0 😱🤯🙀‼️⁉️❣️ SUPER AWESOME !!!
GOOD WORK TEAM 💖✨🌠💫

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

v nice

Comment thread CITATION.cff

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

FIRREEEEE 🔥🔥🔥🔥🔥🔥🔥🔥🤩🤩🤩🤩🤩🤩

Comment thread pyproject.toml

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

WOOOO I LOVE THE NUMBER 3

Comment thread README.md

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

NIIICE I LIKE THE DESCRIPTION

@elkogerville
elkogerville merged commit 9386381 into main Jul 31, 2026
15 checks passed
@elkogerville
elkogerville deleted the fontsize branch July 31, 2026 23:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request refactor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add some exemplary plots and colorsets to ReadMe

3 participants