You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Towards the goal of using hnn-core plots in HNN GUI, plot_spikes_hist() would be a good first example. If a suitable function was availble in hnn-core, it would make spikefn.py one step closer to being deprecated (jonescompneurolab/hnn#237)
Basically, HNN needs an enhanced plot_spikes_hist() with tstop (xlim), color specification, histtype, linewidth. This could be a separate function for plotting 'bar' histogram types.
I would argue against adding any matplotlib parameters, because users have access to the figure handle. Otherwise, we risk polluting the function signature.
But we can make the defaults match what is there in the GUI, I think that's reasonable.
Towards the goal of using hnn-core plots in HNN GUI,
plot_spikes_hist()
would be a good first example. If a suitable function was availble in hnn-core, it would makespikefn.py
one step closer to being deprecated (jonescompneurolab/hnn#237)The HNN
spikefn.plot_hist()
has some more parameters that aren't found inviz.plot_spikes_hist()
in hnn-core:https://github.com/jonescompneurolab/hnn/blob/master/spikefn.py#L235-L247
Basically, HNN needs an enhanced
plot_spikes_hist()
withtstop
(xlim), color specification,histtype
,linewidth
. This could be a separate function for plotting 'bar' histogram types.hnn-core/hnn_core/viz.py
Lines 51 to 73 in c879ce5
Example calls are in https://github.com/jonescompneurolab/hnn/blob/master/simdat.py#L340-L353
The text was updated successfully, but these errors were encountered: