NeuralEnsemble / PyNN

A Python package for simulator-independent specification of neuronal network models.
Other
275 stars 125 forks source link

Fix quantities error and x-y order in plotting #763

Closed jiegec closed 1 year ago

jiegec commented 1 year ago

Prior to this commit, running small_network.py --plot-figure will fail with 'Unable to convert between units of "dimensionless" and "ms"' error. This commit also fixes the x-y order in plotting.

Before:

raise ValueError(
ValueError: Unable to convert between units of "dimensionless" and "ms"
image

After:

image
coveralls commented 1 year ago

Coverage Status

Coverage increased (+0.03%) to 69.761% when pulling 79f519183600baa18e5be1a5c56b51168af4ea58 on jiegec:fix-plot-spiketrains into 9dfb42bca07a5b5925e12ce369549ce9d903b14b on NeuralEnsemble:master.