Vertical waveshow
See original GitHub issueIs your feature request related to a problem? Please describe.
Branching this issue out from a comment in #1370 and some offline discussions.
TLDR: it could be useful if waveshow
could draw transposed waveforms, rather than only plotting with time as the horizontal axis. The main use-case here is probably in things like cross-similarity plots, where it might be nice to have subplots on the top and left sides corresponding to the signals being compared.
Describe the solution you’d like
The API could look like waveshow(..., orient='vertical')
, though we’d probably need to consider revising other parameter names like offset=
and x_axis=
to be more flexible and align with what’s provided by specshow
.
Describe alternatives you’ve considered We could achieve some of this by an axis transformation, but given the headaches we’ve already seen in melodyplot with this (fill_between does not currently play nicely with axes transforms), I’d rather not.
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:6 (6 by maintainers)
Top GitHub Comments
Giving this a shot during the SciPy sprints.
The orient argument is (I believe) a seaborn-ism, which provides a more consistent interface over matplotlib’s mixture of doppelganger functions and argument swaps.