Skip to content

Commit efa9edb

Browse files
authored
Remove deprecated visualization functions (#130)
Remove old visualization functions deprecated since #58. * Remove old tests - fix paths - support pathlib.Path * fix doc * move tests/test_visualization_new_structure.py * cleanup * Fix broken links
1 parent fb7f327 commit efa9edb

File tree

8 files changed

+238
-2153
lines changed

8 files changed

+238
-2153
lines changed

doc/conf.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,6 @@
99
import sys
1010
import warnings
1111

12-
# Sphinx autosummary does not handle well submodules and functions with
13-
# identical names if the function is part of __all__ of the parent module.
14-
# This is way, we get autosummary to create the submodule documentation:
15-
import petab
16-
from petab.visualize.plot_data_and_simulation import plot_data_and_simulation
17-
petab.visualize.plot_data_and_simulation = \
18-
sys.modules['petab.visualize.plot_data_and_simulation']
19-
2012
# -- Path setup --------------------------------------------------------------
2113

2214
# If extensions (or modules to document with autodoc) are in another directory,

petab/visualize/__init__.py

Lines changed: 13 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,20 @@
77
88
"""
99

10-
from .plot_data_and_simulation import (plot_data_and_simulation,
11-
plot_petab_problem,
12-
plot_measurements_by_observable,
13-
plot_without_vis_spec,
14-
plot_with_vis_spec,
15-
plot_problem,
16-
save_vis_spec)
10+
from .plot_data_and_simulation import (
11+
plot_without_vis_spec,
12+
plot_with_vis_spec,
13+
plot_problem,
14+
)
1715

1816
from .plotter import MPLPlotter
1917
from .plotting import DataProvider, Figure
2018

21-
__all__ = ["plot_data_and_simulation",
22-
"plot_petab_problem",
23-
"plot_measurements_by_observable",
24-
"plot_without_vis_spec",
25-
"plot_with_vis_spec",
26-
"plot_problem",
27-
"save_vis_spec",
28-
"MPLPlotter",
29-
"DataProvider",
30-
"Figure"
31-
]
19+
__all__ = [
20+
"plot_without_vis_spec",
21+
"plot_with_vis_spec",
22+
"plot_problem",
23+
"MPLPlotter",
24+
"DataProvider",
25+
"Figure"
26+
]

0 commit comments

Comments
 (0)