Plot error when changing the background colour
@salvadord arbeitet bereits daran.
Seit 22.11.2022.
Bewertung
Dieses Issue wurde noch nicht bewertet.
Beschreibung
When changing the background colour to white, an error appears related to the plots
- "'TypeError' object has no attribute 'plotName'"
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
~/git/netpyne-ui/netpyne_ui/netpyne_geppetto.py in getPlot(self, plotName, LFPflavour, theme)
777 else:
--> 778 fig_data = getattr(analysis, plotName)(**args)
779 if isinstance(fig_data, tuple):
~/git/netpyne-ui/src/netpyne/netpyne/analysis/dipole.py in plotDipole(showCell, showPop, timeRange, dpi, figSize, showFig, saveFig)
40
---> 41 p = p/1000.0 # convert from nA to uA
42
TypeError: unsupported operand type(s) for /: 'Dict' and 'float'
During handling of the above exception, another exception occurred:
AttributeError Traceback (most recent call last)
/tmp/ipykernel_212837/2246607073.py in <module>
----> 1 netpyne_geppetto.getPlot(utils.convertToPython('"plotDipole"'),utils.convertToPython('false'),utils.convertToPython('"guiBlack"'))
~/git/netpyne-ui/netpyne_ui/netpyne_geppetto.py in getPlot(self, plotName, LFPflavour, theme)
798 return fig_data
799 except Exception as e:
--> 800 err = "There was an exception in %s():" % (e.plotName)
801 logging.exception(("%s \n %s \n%s" % (err, e, sys.exc_info())))
802
AttributeError: 'TypeError' object has no attribute 'plotName'
https://images.zenhubusercontent.com/122103040/dd5cf97f-e3c7-4b37-997c-e9a21346517f/video.mov
- Vorherrschende Sprache
- JavaScript
- Sterne
- 23
- Forks
- 10
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Entwicklungsumgebung
- Enthält ein Dockerfile oder eine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Kein Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus MetaCell/NetPyNE-UI
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 45/100
MetaCell/NetPyNE-UI#835 ·
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 35/100
MetaCell/NetPyNE-UI#832 ·
-
CNS24 Tutorial - IssuesEvtl. wieder frei @filippomc hat das vor 826 Tagen übernommen, und es ist kein Pull Request offen. Offen
MetaCell/NetPyNE-UI#829 · 2 Kommentare · 3 zugewiesene Personen ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 42/100
MetaCell/NetPyNE-UI#794 · 2 Kommentare ·
-
M1 model does not show cell density and shows error in Spatial Distribution panelEvtl. wieder frei @ddelpiano hat das vor 1031 Tagen übernommen, und es ist kein Pull Request offen. Offen
MetaCell/NetPyNE-UI#793 · 1 Kommentar · 1 zugewiesene Person ·
Alle Issues in MetaCell/NetPyNE-UI
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
Maintainer antworten meist innerhalb von 1 Tag
-
documentation good first issue help wanted
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 85/100
zmo2s/agent-toolbox#23 ·
-
[Bug]: [MCP/CLI] Bare loopback IP addresses (127.0.0.1:port) and hosts with ports fail to navigate due to erroneous scheme inferenceEvtl. vergeben @alok-108 hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
microsoft/playwright#43263 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug traffic
Schwierigkeit 2/5 Unter einer Stunde Anfängerfreundlichkeit 74/100