Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3f06646

Browse files
committed
Shorten title and spell out keyword argument
1 parent 007eaae commit 3f06646

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed
Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1-
pyplot.specgram uses origin='upper' even if an different kwarg or rcParam value is set
2-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1+
pyplot.specgram always uses origin='upper'
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33

4-
Previously if ``image.origin`` was set to something other than upper or if
5-
the ``origin`` kwarg was passed with a value other than upper, the spectrogram
6-
itself would flip, but the axes would remain oriented for an origin value
4+
Previously if ``image.origin`` was set to something other than 'upper' or if
5+
the ``origin`` keyword argument was passed with a value other than 'upper', the spectrogram itself would flip, but the axes would remain oriented for an origin value
76
of 'upper', so that the resulting plot was incorrectly labelled.
87

9-
Now, the ``origin`` kwarg is not supported and the ``image.origin`` rcParam is ignored.
10-
The function matplotlib.pyplot.specgram is forced to use ``origin='upper'``, so that
11-
the axes are correct for the plotted spectrogram.
8+
Now, the ``origin`` keyword argument is not supported and the ``image.origin`` rcParam
9+
is ignored. The function matplotlib.pyplot.specgram is forced to use ``origin='upper'``, so that the axes are correct for the plotted spectrogram.

0 commit comments

Comments
 (0)