5
votes
1answer
464 views

How to copy matplotlib figure?

I have FigureCanvasWxAgg instance with a figure displayed on a frame. If user clicks on the canvas another frame with a new FigureCanvasWxAgg containing the same figure will be shown. By now closing ...
1
vote
1answer
91 views

wxpython server

I am trying to send data from a C program to a python script through sockets in order to perform real-time visualization of the data using matplotlib. I have also created a GUI using wxPython. I have ...
1
vote
1answer
98 views

putting a matplotlib graph into wxpython

I have this code which creates an interactive scatter graph: if 1: # picking on a scatter plot (matplotlib.collections.RegularPolyCollection) x, y, c, s = rand(4, 100) def onpick3(event): ind = ...
1
vote
1answer
80 views

How to use Matplotlib.animation in wxpython?

I want to plot dynamic image in wxpython using matplotlib.animation,but I dont know how to do that.Is there any one can give me an example?
1
vote
1answer
209 views

Matplotlib, mathtext findfont issue in py2exe app

I've created a wxapp which uses Matplotlib/mathtext fonts and converted it into an exe with py2exe. The resultant exe runs fine on my pc. However when I take it elsewhere it crashes with the following ...
1
vote
1answer
559 views

Adding a gridded subplot to WxPython GUI (Matplotlib)

I'm developing a simple demonstration GUI for a multi-lateral ultrasonic rangefinder. A device captures ultrasonic signals from several different sensors, performs time of flight processing on these ...
1
vote
1answer
570 views

How to redraw a mathplotlib figure in a wxpython panel?

I want to draw a new figure on a each draw() operation. I pieced together code for drawing a static figure which is never updated after the object is created. But I want to be able to redraw when ...
1
vote
1answer
493 views

Embedding Subplots in wxPython

I am using Python Active version 2.5(32 bits). I am facing a problem in doing subplotting in wxPython. In the program when I click 1st button the both subplots work fine but when I click on 2nd ...
0
votes
1answer
66 views

Python: Adding Matplotlib Figure to Auto-Generated Frame Output from wxFormBuilder?

Learning Python (coming into it as a strong C# programmer), excited about the power of SciPy and Matplotlib, so I am looking to add a matplotlib figure to a panel. The panel is in a notebook, whose ...
0
votes
1answer
109 views

Error, Using deprecated class PySimpleApp after removing EPD

I am using spyder on Mac OSX 10.8.2 and I had Enthought which I uninstalled. In my code I used pyplot from matplotlib. However I keep getting the following warning when I run the simple plot program. ...
0
votes
1answer
103 views

Matplotlib in wx.boxsizer instead of panels

I read here: http://wiki.wxpython.org/Getting%20Started#Windows_or_Frames.3F that there are advantages to arranging content within a frame using Sizers instead of panels; sizers are more flexible. ...
0
votes
1answer
281 views

Matplotlib ToolBar Icons disappear when selected in wxPython Panel

I've encountered this behaviour intermittently using the Matplotlib NavigationToolbar2Wx in a Matplotlib Figure canvas in a wx.Frame (or wx.Panel). If the Zoom Icon or Pan Icon are selected the icon ...
0
votes
1answer
157 views

How to live Plot new value base on capture pyserial data

This question is the next question of this one live plotting using pyserial and matplotlib Now I can live plot the data but I want my plot must start to plot from y = 0, for example var_y from ...
0
votes
1answer
195 views

pylab in wx application

when I try make a picture with pylab import pylab pylab.plot([0,1,2,3],[10,50,30,40]) pylab.savefig('graph.png') in a wx application, no returned the terminal control.
0
votes
1answer
204 views

How to incorporate DRAG feature in wxPython

I want to incorporate DRAG feature in program where in I can drag (hand cursor) the canvas which is placed on a panel. DRAG feature will help me see a full picture if the image is out of bound on the ...
2
votes
0answers
166 views

Matplotlib and wxPython PopupMenu cooperation

I would like to display a context menu over a matplotlib figure inside of a wxPython window when the mouse is clicked. Unfortunately, after it detects the click, the PopupMenu method is called, but ...
2
votes
0answers
195 views

Transparency issue with matplotlib and wxpython

I'm developping a GUI based on matplotlib and wxpython, for Windows. I have an issue that becomes visible when the "Windows XP" theme (green Start button, blue taskbar) is used. I'm quite sure the ...
1
vote
0answers
51 views

Matrix matplotlib associate a certain thing in a list to a row

I have created a matrix with coordinates [(1,109),(2,21),(3,23),(4,52)...] all the way up to around 155(the rows of the matrix go up to 155) I also have a list of numbers [1,1,0,2,1,3,4] which go all ...
1
vote
0answers
78 views

Why does the IPython interpreter freeze on OS X when started with --pylab=wx?

I have a python package that uses both wxPython and matplotlib. To get non-blocking windows, I tried starting IPython like this: # ipython --pylab=wx When I do this, the IPython prompt appears and ...
1
vote
0answers
46 views

matplotlib, graph with points on the edges which correspond to points in the graph

[1]: http://i50.tinypic.com/xng4jr.png " Here is an example, i want to know if this is possible in matplotlib with wxpython Basically there are coloured parts around the side of the graph which ...
1
vote
0answers
75 views

lasso or rectangle matplotlib

I have created a scatter graph in matplotlib, however i would like to make it interactive. I would like it so i can select multiple plotted points on the graph. I have seen the lasso function on the ...
0
votes
0answers
49 views

2 arrays one ListedColormap but 2 colormaps

I have 2 arrays which are randomly generated each time the program is run. The numbers in the array can be from 0 to 4. I have created a colormap using ...
0
votes
0answers
51 views

mouse movement on matrix graph matplotlib

I have created a matrix graph in matplotlib using self.ax.imshow(mtrx,cmp=plt.cm.Greys_r, interpolation='none',picker =5). What I want to do is when you hover over the matrix graph itself, it prints ...
0
votes
0answers
14 views

highlighter on a matrix from a colorbar matplotlib

I have 2 colorbars and a matrix I have made an onclick method for my colorbars so when you press them it prints out the x and y data. What I want to happen is for it to produce the highlight ...
0
votes
0answers
86 views

multiple colorbars matplotlib

I have created 2 colorbars for i, item in enumerate(rchlist): xcolors[i] = param[i] ycolors[i] = param[i] xcolors = np.zeros(size)-1 ycolors = np.zeros(size)-1 ...
0
votes
0answers
55 views

creating matplotlib lasso function embed it in wxpython

Here is my code at the moment, it constructs a scatter diagram, where you can zoom in and move around. What i want to do is construct a lasso function like matplotlibs ...
0
votes
0answers
84 views

py2exe matplotlib-when exe ran can't find backend_tkagg

So I've searched around stack overflow and found some good info. There is a post with two answers about this exact problem, but from my understanding I've satisfied both of them. Here is the link to ...
0
votes
0answers
80 views

Interactive Matplotlib: Timeseries navigation + Animation

I have a combined matplotlib wxpython application that operates in two 'modes', that are analogous to a media player with 3D data. Seeking to a specific point in a dataset, through the use of a ...
0
votes
0answers
157 views

pyserial and wxpython matplotlib the read method failed in thread

I am trying to build a gui and receive data from the serial port and display in a plot(using matplotlib). But when i open the port , the read() failed. I just can't figure out why. Can anybody give me ...
0
votes
0answers
231 views

plotting / wxPython - Why is this call to MemoryDC.SelectObject() slow?

I'm attempting to do real-time plotting of data in matplotlib, in a "production" application that uses wxPython. I had been using Chaco for this purpose, but I'm trying to avoid Chaco in the future ...