Skip to content
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

Feat: extend morphology plotting methods to accept a file path and objects; move vispy bits to separate module to reduce import errors (breaking) #238

Merged
merged 10 commits into from
Aug 9, 2023

Conversation

sanjayankur31
Copy link
Member

No description provided.

@sanjayankur31 sanjayankur31 added T: enhancement Type: enhancement S: ready for review Status: ready for review labels Jul 7, 2023
This ensures that there are no import errors if the optional vispy
package is not installed.

BREAKING CHANGE: vispy functions have moved out from PlotMorphology to PlotMorphologyVispy
@sanjayankur31 sanjayankur31 changed the title Feat: extend morphology plotting methods to accept a file path, a NeuroMLDocument object or a Cell object Feat: extend morphology plotting methods to accept a file path and objects; move vispy bits to separate module to reduce import errors (breaking) Jul 7, 2023
@sanjayankur31
Copy link
Member Author

breaking since moving the vispy routines technically breaks API. I'm wondering if the helper methods should also be made private to prevent users from using these. They should only be using the high level plot_interactive_3d etc methods, not the lower level ones.

so that default usage does not require plotly

BREAKING CHANGE: plotly methods are now in pyneuroml.plot.PlotMorphologyPlotly
to ensure we get morphology plots even when cells are merely included
if it's a network file, use the network id; otherwise use the cell id.
@pgleeson pgleeson mentioned this pull request Aug 9, 2023
@pgleeson pgleeson merged commit 4140b29 into development Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S: ready for review Status: ready for review T: enhancement Type: enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants