Giter Club home page Giter Club logo

Comments (4)

pnbabu avatar pnbabu commented on August 19, 2024

@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.

atiye-nejad avatar atiye-nejad commented on August 19, 2024

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.

pnbabu avatar pnbabu commented on August 19, 2024

@atiye-nejad The error seems to be coming from matplotlib and not from NESTML.

from nestml.

clinssen avatar clinssen commented on August 19, 2024

Closing due to inactivity; please feel free to re-open if there is still an issue. Cheers!

from nestml.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.