Comments (4)
@atiye-nejad s1
and s2
are not defined anywhere in the model but are defined in the equations. That is why the error. You can define them in the parameters
block and change them using the nest.set()
function in your simulation script.
from nestml.
thanks. I defined an initial values in parameters block for s1 and s2 but I received this error:
File "/home/atine/Updated_neuron/updated_neuron.py", line 3, in <module> import matplotlib.pyplot as plt File "/home/atine/miniconda3/lib/python3.10/site-packages/matplotlib/pyplot.py", line 44, in <module> from matplotlib.figure import Figure, figaspect File "/home/atine/miniconda3/lib/python3.10/site-packages/matplotlib/figure.py", line 24, in <module> from matplotlib import docstring, projections File "/home/atine/miniconda3/lib/python3.10/site-packages/matplotlib/projections/__init__.py", line 4, in <module> from mpl_toolkits.mplot3d import Axes3D File "/usr/lib/python3/dist-packages/mpl_toolkits/mplot3d/__init__.py", line 1, in <module> from .axes3d import Axes3D File "/usr/lib/python3/dist-packages/mpl_toolkits/mplot3d/axes3d.py", line 47, in <module> class Axes3D(Axes): File "/usr/lib/python3/dist-packages/mpl_toolkits/mplot3d/axes3d.py", line 54, in Axes3D Axes._shared_axes["z"] = cbook.Grouper() AttributeError: type object 'Axes' has no attribute '_shared_axes'. Did you mean: '_shared_x_axes'?
from nestml.
@atiye-nejad The error seems to be coming from matplotlib
and not from NESTML.
from nestml.
Closing due to inactivity; please feel free to re-open if there is still an issue. Cheers!
from nestml.
Related Issues (20)
- Address review comments on #879
- Improve handling of NEST synaptic delay parameter
- Issue in generate_code_for() HOT 2
- Documentation issue on hh_cond_exp_traub neuron model HOT 1
- `nest.ResetKernel()` resets installed modules HOT 3
- Forbid RNG sampling on right-hand side of ODEs
- Plasticity rule not implemented correctly in certain cases HOT 1
- NESTCodeGeneratorUtils.generate_code_for() touches source files on each call
- any chance for support of sympy 1.12.1 HOT 1
- Models should be sorted logically in the documentation
- neuromodulated_stdp nestml file does not compile HOT 1
- Sine and Cosine functions missing from NESTML HOT 1
- Introduce ``ASTExternalVariableType``
- Issue in using sine and cosine functions in kernel definition HOT 2
- Add support for non-linear dynamics in synapses
- Convolution Kernel Reset After Spike Generation
- Store version information for NESTML models
- NEST stalling for specific sets of parameters of a NEST ML model HOT 5
- Implementation on NESTML of a customized Volume Transmitter HOT 5
- Refactor out ``error_strings.py``
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nestml.