Hello, I am trying to display an array with imshow(), however I want to 'turn off' display of axes, numbers, and all that extra stuff which comes with it. I want only my array(grayscale image) to be shown
########################### import wx import matplotlib matplotlib.use( 'WXAgg' ) from matplotlib.backends.backend_wxagg import FigureCanvasWxAgg from matplotlib.figure import Figure class Frame1(wx.Frame): def __init__(self, parent): wx.Frame.__init__(self,None) self.panel1 = wx.Panel(self) self.Add_MPL_Plot() def Add_MPL_Plot(self): figure = Figure(None, 80) canvas = FigureCanvasWxAgg(self.panel1, -1, figure) canvas.SetSize(wx.Size(300,300)) subplot = figure.add_subplot(111) subplot.imshow(here comes my array) # i did not included it to code for simplicity if __name__ == '__main__': app = wx.PySimpleApp() frame = Frame1(None) frame.Show() app.MainLoop() ######################### is there a way to do it? another thing, is it possible to open .png images this way? (since it is possible to save stuff plotted with imshow to .png) -- View this message in context: http://old.nabble.com/displaying-plain-data-without-fancy-features-%28wx%29-tp31890673p31890673.html Sent from the matplotlib - users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users