mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-24 13:20:43 +08:00
Fix ColorHistogram to work with Open File
This commit is contained in:
@@ -47,3 +47,7 @@ class PlotPlugin(Plugin):
|
||||
bgcolor = str(bgcolor / 255.)
|
||||
self.fig.patch.set_facecolor(bgcolor)
|
||||
self.layout.addWidget(self.canvas, self.row, 0)
|
||||
|
||||
def _update_original_image(self, image):
|
||||
super(PlotPlugin, self)._update_original_image(image)
|
||||
self.redraw()
|
||||
|
||||
Reference in New Issue
Block a user