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/more morphplots -> exp #219

Merged
merged 90 commits into from
May 2, 2023
Merged

Feat/more morphplots -> exp #219

merged 90 commits into from
May 2, 2023

Conversation

pgleeson
Copy link
Member

@pgleeson pgleeson commented May 2, 2023

No description provided.

BREAKING CHANGE: `pynml.get_next_hex_color` -> `utils.plot.get_next_hex_color`
`pytest` is called in `test-ghactions.sh` already
Required to correctly load the hoc files by NEURON
and not in each iteration of the loop

CC @pgleeson
Otherwise plots remain open and consume memory. matplotlib warns:

```
.../pyneuroml/plot/PlotMorphology.py:986:
RuntimeWarning: More than 20 figures have been opened. Figures created
through the pyplot interface (`matplotlib.pyplot.figure`) are retained
until explicitly closed and may consume too much memory. (To control
this warning, see the rcParam `figure.max_open_warning`).

```
and add info to inform user that plots are being closed
`q` is used by the `Fly` camera for rolling
In the future, we may be able to expose these values so users can set
them.
The view has perspective, so the axes and the values they show don't
mean anything.
This is more performant than having a Marker object for each sphere.

Ideally, we should also use a single Line object to plot all lines in
the same way, to improve performance. A TODO.
@pgleeson pgleeson merged commit 0c6922f into experimental May 2, 2023
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.

2 participants