Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9aa53ae

Browse files
committed
MNT: re-expose more symbols in back-compat modules
1 parent55c8924 commit9aa53ae

File tree

3 files changed

+15
-5
lines changed

3 files changed

+15
-5
lines changed

‎lib/matplotlib/backends/backend_qt5.py‎

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
from .backend_qtimport (
22
backend_version,SPECIAL_KEYS,
3-
SUPER,ALT,CTRL,SHIFT,MODIFIER_KEYS,# These are deprecated.
3+
# These are deprecated.
4+
SUPER,ALT,CTRL,SHIFT,MODIFIER_KEYSas_MODIFIER_KEYS,
5+
# Public API
46
cursord,_create_qApp,_BackendQT,TimerQT,MainWindow,FigureCanvasQT,
5-
FigureManagerQT,NavigationToolbar2QT,SubplotToolQt,
7+
FigureManagerQT,ToolbarQt,NavigationToolbar2QT,SubplotToolQt,
68
SaveFigureQt,ConfigureSubplotsQt,SetCursorQt,RubberbandQt,
7-
HelpQt,ToolCopyToClipboardQt
9+
HelpQt,ToolCopyToClipboardQT,
10+
# internal re-exports
11+
FigureCanvasBase,FigureManagerBase,MouseButton,NavigationToolbar2,
12+
TimerBase,ToolContainerBase,figureoptions,Gcf
813
)
914

1015

‎lib/matplotlib/backends/backend_qt5agg.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55
from .backend_qtaggimport (
66
_BackendQTAgg,FigureCanvasQTAgg,FigureManagerQT,NavigationToolbar2QT,
7-
backend_version)
7+
backend_version,FigureCanvasAgg,FigureCanvasQT
8+
)
89

910

1011
@_BackendQTAgg.export

‎lib/matplotlib/backends/backend_qt5cairo.py‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
from .backend_qtcairoimport_BackendQTCairo,FigureCanvasQTCairo
1+
from .backend_qtcairoimport (
2+
_BackendQTCairo,FigureCanvasQTCairo,
3+
FigureCanvasCairo,FigureCanvasQT,
4+
RendererCairo
5+
)
26

37

48
@_BackendQTCairo.export

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp