aolabNeuro / aolabNeuro/analyze

cryptic error message for plot_tfr

Offen
#383 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
documentation
Vorherrschende Sprache
Python
Sterne
7
Forks
0
Ø Merge
22 Std. 29 Min.
Gemergte PRs (30 T.)
2

Beschreibung

It sometimes complains
```
TypeError: Dimensions of C (10000, 160) should be one smaller than X(10000) and Y(160) while using shading='flat' see help(pcolormesh)
```
The culprit might be the shape of `values` is backwards from what is expected. We should check that C has shape (len(Y), len(X)) and make a warning if not. I think the shape can also be off by one and it's ok, it just uses centers instead of edges for shading.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.