How alaha999/pyhepplotlib works
PyHEPPlotLib is a PyROOT plotting library with both a stateful Plotter API and a matplotlib-like pyplot façade. The main workflow configures a figure and style, registers histogram or graph data, draws the plot, and saves it. Plotter also provides 2D histograms, efficiency and limit graphs, pie charts, and summary tables. The graph reflects documented features and sampled imports/calls; unsampled Plotter internals are not expanded into inferred call chains.
Main entry points: plotter.py Plotter State · pyplot.py pyplot API · help.py API Options Help · utils.py Histogram & Graph Helpers
Components 15
Public Interfaces
- pyplot API
src/pyplotlib/pyplot.py - Plotter API
src/pyplotlib/plotter.py - API Options Help
src/pyplotlib/help.py
Plotting Engine
- Plotter State
src/pyplotlib/plotter.py - 1D Histograms
src/pyplotlib/plotter.py - 2D Histograms
src/pyplotlib/plotter.py - Graphs & Efficiency
src/pyplotlib/plotter.py - Pie Charts
src/pyplotlib/plotter.py - Summary Tables
src/pyplotlib/plotter.py - Canvas & Export
src/pyplotlib/plotter.py
Rendering Support
- Plot Styling
src/pyplotlib/styles.py - Histogram & Graph Helpers
src/pyplotlib/utils.py
External Runtime
- ROOT / PyROOT
Other components
- Analyst
- Plot File
Connections 18
- Analyst → pyplot API: uses
README.md - Analyst → Plotter API: uses
README.md - pyplot API → Plotter State: creates and dispatches
src/pyplotlib/pyplot.py - pyplot API → API Options Help: loads options
src/pyplotlib/pyplot.py - API Options Help → pyplot API: discovers API
src/pyplotlib/help.py - API Options Help → Plotter API: inspects methods
src/pyplotlib/help.py - Plotter API → Plotter State: implements plotting
src/pyplotlib/__init__.py - Plotter State → 1D Histograms: registers and draws
README.md - Plotter State → 2D Histograms: registers and draws
src/pyplotlib/plotter.py - Plotter State → Graphs & Efficiency: draws graph plots
src/pyplotlib/plotter.py - Plotter State → Pie Charts: draws
src/pyplotlib/plotter.py - Plotter State → Summary Tables: prints
src/pyplotlib/pyplot.py - Plotter State → Canvas & Export: draws and saves
README.md - Canvas & Export → Plot File: writes plot
README.md - Plotter State → Plot Styling: uses styles
src/pyplotlib/plotter.py - Plotter State → Histogram & Graph Helpers: uses helpers
src/pyplotlib/plotter.py - Plotter State → ROOT / PyROOT: creates ROOT objects
src/pyplotlib/plotter.py - Histogram & Graph Helpers → ROOT / PyROOT: transforms ROOT data
src/pyplotlib/utils.py