Skip to main content

Module theme

Module theme 

Source
Expand description

Theme system controlling all visual defaults.

A plot rendered with zero custom styling must look professional. The Theme::default() configuration follows the Visual Design Brief:

  • White background, despined axes (top + right hidden), light grid behind data.
  • Tableau-10 categorical palette, viridis continuous colormap.
  • Outward ticks, readable font sizes (title 14 pt bold, labels 11 pt, ticks 9 pt).

Additional built-in themes are available via Theme::dark(), Theme::seaborn(), Theme::ggplot(), Theme::publication(), Theme::nature(), and Theme::solarized().

Structs§

Theme
Visual theme controlling all rendering defaults.

Enums§

GridAxis
Which axes should display grid lines.
LineStyle
Line drawing style.
Loc
Legend location relative to the axes area.
Marker
Scatter plot marker shape.
TickDirection
Direction in which axis tick marks extend from the spine.