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

Fix draw on show#4503

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
efiring merged 6 commits intomatplotlib:masterfromtacaswell:fix_draw_on_show
Jun 28, 2015
Merged
Changes from1 commit
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
PrevPrevious commit
FIX: make sure nbagg figure are shown when created
Removing the `draw_if_interactive` from `pyplot.figure` inb2fbae7 causes the figures to no longerbe shown on creation in nbagg, this special-cases the manager creatingin nbagg to ensure that the figure is indeed shown.The root cause of this is that unlike every other backend which call`show` in either the Manager `__init__` or one of the`new_figure_manager` functions, nbagg did not
  • Loading branch information
@tacaswell
tacaswell committedJun 27, 2015
commitfdadd63e87fa50510be127b274d763e5a203a3d5
3 changes: 3 additions & 0 deletionslib/matplotlib/backends/backend_nbagg.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -224,6 +224,9 @@ def new_figure_manager_given_figure(num, figure):
if rcParams['nbagg.transparent']:
figure.patch.set_alpha(0)
manager = FigureManagerNbAgg(canvas, num)
if is_interactive():
manager.show()
figure.canvas.draw_idle()
return manager


Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp