fix imports for gallery plots
Checklist before requesting a review
- [x] Tests for the changes have been added (for bug fixes/features)
- [x] Docs have been added / updated (for bug fixes / features)
- [x] I have performed a self-review of my code
- [x] Will this be part of a product update? If yes, please write one line about this on the CHANGELOG.md
-
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
-
Docs fix for neuron dynamics graphs in the gallery section.
-
What is the current behavior? (You can also link to an open issue here) Due to
utilsimport error, the spike plot is not generated for all the neuron models.
-
What is the new behavior (if this is a feature change)? Should render the plots properly instead of an error.
-
Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?) No
-
Other information:
Took 5 commits, but fixed the plot generation. Had to replicate the plotting function into each file for now. Will revert to importing that function once I create the docs build env locally.
Working version: https://sinabs--290.org.readthedocs.build/290/auto_examples/layers/plot_iaf.html
Hi @kphanipavan,
Thank you so much for your contribution. Before merging your PR, as listed in our documentation, I need you to sign our Contributor's License Agreement.
Can I have your email?
Best, Vanessa
Rejecting the PR since I haven't heard back, and the problem has already been solved.