Skip to content

Commit

Permalink
Rework plots return displayable objects, and allow caching as HTML/SVG (
Browse files Browse the repository at this point in the history
  • Loading branch information
gbowlin authored Jun 25, 2024
1 parent 1af5a64 commit d50567a
Show file tree
Hide file tree
Showing 21 changed files with 1,056 additions and 496 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,6 @@ scripted_testing/
/notebooks/data/
example-notebooks/binary-classifier/dictionary.yml
example-notebooks/binary-classifier/data/*
example-notebooks/binary-classifier/outputs/*
example-notebooks/binary-classifier/outputs/*

.seismometer_cache/
2 changes: 2 additions & 0 deletions changelog/43.feature..rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
* Updated plots to use HTML and SVG over pngs from matplotlib
* Added DiskCachedFunction to allow disk caching of HTML content
10 changes: 9 additions & 1 deletion docs/reference/internals.rst
Original file line number Diff line number Diff line change
Expand Up @@ -112,14 +112,22 @@ Summaries
summaries.default_cohort_summaries
summaries.score_target_cohort_summaries

.. currentmodule:: seismometer.core.patterns

Low-level patterns
------------------

Patterns
~~~~~~~~
.. currentmodule:: seismometer.core.patterns
.. autosummary::
:toctree: api/

Singleton

Decorators
~~~~~~~~~~
.. currentmodule:: seismometer.core.decorators
.. autosummary::
:toctree: api/

DiskCachedFunction
1 change: 0 additions & 1 deletion docs/reference/seismometer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ Public API
plot_cohort_hist
plot_leadtime_enc
plot_trend_intervention_outcome
plot_ts_cohort
show_info
show_cohort_summaries
target_feature_summary
Loading

0 comments on commit d50567a

Please sign in to comment.