Fix ColorHistogram to work with Open File

This commit is contained in:
Tony S Yu
2013-10-28 22:55:07 -05:00
parent d5776656a8
commit 5aec00731a
3 changed files with 13 additions and 1 deletions
+4
View File
@@ -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()