Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a8a0e8 commit 20310d7Copy full SHA for 20310d7
src/napari_matplotlib/base.py
@@ -88,7 +88,6 @@ def apply_napari_colorscheme(self, ax: Axes) -> None:
88
89
ax.xaxis.label.set_color(text_colour)
90
ax.yaxis.label.set_color(text_colour)
91
- # ax.set_xlabel(ax.get_xlabel, color=text_colour)
92
93
# changing colors of axes labels
94
ax.tick_params(axis="x", colors=text_colour)
@@ -246,9 +245,8 @@ def _draw(self) -> None:
246
245
isinstance(layer, self.input_layer_types) for layer in self.layers
247
):
248
self.draw()
249
- self.canvas.draw()
250
- self.canvas.flush_events()
251
self.apply_napari_colorscheme(self.figure.gca())
+ self.canvas.draw()
252
253
def clear(self) -> None:
254
"""
0 commit comments