Skip to content

Conversation

@salvadord
Copy link
Collaborator

this is just temporary so can see the rxd plot properly... don't freak out! ;)

Copy link
Contributor

@adrianq adrianq left a 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...


return svgs.__str__()

def getNetPyNERxDConcentration(self):
Copy link
Contributor

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'?

Copy link
Collaborator Author

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


def getNetPyNERxDConcentration(self):
try:
fig = rxd.plotExtracellularConcentration(species=rxd.ca)
Copy link
Contributor

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?

Copy link
Collaborator Author

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

Copy link
Contributor

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

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.

Copy link
Collaborator Author

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

@adrianq adrianq merged commit bc15b6b into development Jul 9, 2018
@rodriguez-facundo rodriguez-facundo deleted the rxd_changes branch July 10, 2018 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants