X Tutup
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions doc/api/api_changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ original location:
- mstream -> `from matplotlib import stream as mstream`
- mtable -> `from matplotlib import table as mtable`

* As part of the refactoring to enable Qt5 support, the module
`matplotlib.backends.qt4_compat` was renamed to
`matplotlib.qt_compat`. `qt4_compat` is deprecated in 1.4 and
will be removed in 1.5.

* The :func:`~matplotlib.pyplot.errorbar` method has been changed such that
the upper and lower limits (*lolims*, *uplims*, *xlolims*, *xuplims*) now
point in the correct direction.
Expand Down
11 changes: 11 additions & 0 deletions lib/matplotlib/backends/qt4_compat.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import warnings
from matplotlib.cbook import mplDeprecation
_warn_str = ("This module has been deprecated in 1.4 in favor "
"matplotlib.backends.qt_compat\n"
"This module will be removed in 1.5, please update "
"your imports.")
# bulk-imports because we are pretending that file is this file
from .qt_compat import *


warnings.warn(_warn_str, mplDeprecation)
X Tutup