Does anyone have an idea why (https://www.neuron.yale.edu/neuron/stat ... class.html)
Code: Select all
from neuron import h
from matplotlib import pyplot
h.load_file('c91662.ses')
for sec in h.allsec():
if 'apic' in str(sec):
sec.v = 0
ps = h.PlotShape(False)
ps.plot(pyplot)
pyplot.show()
Code: Select all
from neuron import h
from matplotlib import cm
import plotly
h.load_file('c91662.ses')
for sec in h.allsec():
if 'apic' in str(sec):
sec.v = 0
ps = h.PlotShape(False)
ps.plot(plotly, cmap=cm.cool).show()
Environment:
MacOS 12.6.5 (arm64)
python=3.11.3
neuron=8.2.2 (installer package)
matplotlib=3.7.1
plotly=5.14.1
Tests of matplotlib by itself (e.g., https://matplotlib.org/3.1.1/gallery/li ... _plot.html) work fine.
Thanks very much!