-
Notifications
You must be signed in to change notification settings - Fork 9
temporary changes to plot rxd in panel 3 #54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
adrianq
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@salvadord A couple of comments...
netpyne_ui/netpyne_geppetto.py
Outdated
|
|
||
| return svgs.__str__() | ||
|
|
||
| def getNetPyNERxDConcentration(self): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@salvadord Can we name this method following the standard, i.e. 'getNetPyNERxDConcentrationPlot'?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, can rename to that
netpyne_ui/netpyne_geppetto.py
Outdated
|
|
||
| def getNetPyNERxDConcentration(self): | ||
| try: | ||
| fig = rxd.plotExtracellularConcentration(species=rxd.ca) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it not needed to import rxd for this to work?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is just a temporary hack for the tutorial, so for this to work the user has to run from the jupyter nb: import gui_tut3_rxd as rxd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, you can just do 'from neuron import crxd as rxd', can't you? and we are already doing sth similar with matplotlib here
NetPyNE-UI/netpyne_ui/netpyne_geppetto.py
Line 21 in e000520
| import matplotlib.pyplot as plt |
If what I am saying is correct is almost the same thing we are doing with matplotlib and I wouldn't consider it as hacky solution.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's not the same as rxd -- I shouldn't really have called it rxd (it was just to make it shorter).
the module I'm importing is custom made for the tutorial: https://github.com/Neurosim-lab/netpyne_workspace/blob/CNS18/gui_tut3_rxd.py
this is just temporary so can see the rxd plot properly... don't freak out! ;)