We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03778c7 commit efd3c80Copy full SHA for efd3c80
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