Skip to content

Commit ce197fe

Browse files
committed
feat: use complete import for generate_plot
1 parent 8cad443 commit ce197fe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pyneuroml/analysis/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
from pyneuroml.lems.LEMSSimulation import LEMSSimulation
99
from pyneuroml.lems import generate_lems_file_for_neuroml
1010
from pyneuroml.utils.plot import get_next_hex_color
11+
from pyneuroml.plot import generate_plot
1112
import neuroml as nml
1213
from pyelectro.analysis import max_min
1314
from pyelectro.analysis import mean_spike_frequency
@@ -381,7 +382,7 @@ def generate_current_vs_frequency_curve(
381382
iv_results[stims[i]] = v_end
382383

383384
if plot_voltage_traces:
384-
traces_ax = pynml.generate_plot(
385+
traces_ax = generate_plot(
385386
times_results,
386387
volts_results,
387388
"Membrane potential traces for: %s" % nml2_file,

0 commit comments

Comments
 (0)