Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
lifegraph
lifegraph

Contents

  • Gallery
    • Getting Started
      • Basic Grid
      • Changing the Maximum Age
      • Showing a Sub-range with min_age
      • Adding a Title
      • Adding a Watermark
    • Events & Eras
      • Eras
      • Era Spans
      • Life Events
    • Customization
      • Image Overlay
      • Grid Style
      • Label Placement
    • Advanced
      • Provided Axes – Mixing with Other Plots
      • Provided Axes – Multiple Subplots
      • Provided Axes – Single
      • Saving and Loading Configurations
    • Complete Example
      • A Complete Life Graph
  • API Reference
  • Changelog
  • Contributing
  • Contributor Covenant Code of Conduct
Back to top
View this page
Edit this page

Gallery¶

A visual tour of lifegraph features, from the basics to advanced layouts.

Getting Started¶

Create a basic life-graph grid and customise it with titles, watermarks, and age ranges.

Basic Grid

Basic Grid

Changing the Maximum Age

Changing the Maximum Age

Showing a Sub-range with min_age

Showing a Sub-range with min_age

Adding a Title

Adding a Title

Adding a Watermark

Adding a Watermark

Events & Eras¶

Annotate your life graph with point events, shaded eras, and era spans.

Eras

Eras

Era Spans

Era Spans

Life Events

Life Events

Customization¶

Tweak marker styles, label placement, and overlay images on the grid.

Image Overlay

Image Overlay

Grid Style

Grid Style

Label Placement

Label Placement

Advanced¶

Provide your own matplotlib axes, compose multiple graphs on one figure, and save/load configurations.

Provided Axes – Mixing with Other Plots

Provided Axes -- Mixing with Other Plots

Provided Axes – Multiple Subplots

Provided Axes -- Multiple Subplots

Provided Axes – Single

Provided Axes -- Single

Saving and Loading Configurations

Saving and Loading Configurations

Complete Example¶

Putting several features together into one graph.

A Complete Life Graph

A Complete Life Graph

Download all examples in Python source code: auto_examples_python.zip

Download all examples in Jupyter notebooks: auto_examples_jupyter.zip

Next
Getting Started
Previous
Home
Copyright © 2024, Kyle Shores
Made with Sphinx and @pradyunsg's Furo
On this page
  • Gallery
    • Getting Started
    • Events & Eras
    • Customization
    • Advanced
    • Complete Example