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

Appearance settings

Commit 20310d7

Browse filesBrowse files
samcunliffedstansby
andcommitted
Fixes #142
Co-authored-by: David Stansby <dstansby@gmail.com>
1 parent 3a8a0e8 commit 20310d7
Copy full SHA for 20310d7

File tree

1 file changed

+1
-3
lines changed
Filter options

1 file changed

+1
-3
lines changed

‎src/napari_matplotlib/base.py

Copy file name to clipboardExpand all lines: src/napari_matplotlib/base.py
+1-3Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ def apply_napari_colorscheme(self, ax: Axes) -> None:
8888

8989
ax.xaxis.label.set_color(text_colour)
9090
ax.yaxis.label.set_color(text_colour)
91-
# ax.set_xlabel(ax.get_xlabel, color=text_colour)
9291

9392
# changing colors of axes labels
9493
ax.tick_params(axis="x", colors=text_colour)
@@ -246,9 +245,8 @@ def _draw(self) -> None:
246245
isinstance(layer, self.input_layer_types) for layer in self.layers
247246
):
248247
self.draw()
249-
self.canvas.draw()
250-
self.canvas.flush_events()
251248
self.apply_napari_colorscheme(self.figure.gca())
249+
self.canvas.draw()
252250

253251
def clear(self) -> None:
254252
"""

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.