I have an array of data that were sampled with a sampling rate of
1.5625samples/sec . I want to plot these data with the x axis showing
time in
terms of hours for the major ticks and minutes for the minor ticks in my
custom made wx App. I have been fiddling around with the HourLocator and
MinuteLo
does matplotlib already support wxPython 2.8?
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief su
i found this code snippet in one example in matplotlib
class App(wx.App):
def OnInit(self):
'Create the main window and insert the custom frame'
frame = CanvasFrame()
frame.Show(True)
return True
app = App(0)
app.MainLoop()
i just want to ask what does app = App
Philippe Fremy
first, install the unicode version of wxPython since matplotlib is compiled
using it.
then add that dll in the variable to be passed to the data_files argument
of setup, something like this:
matplotlibdata_files.append(('',['E:\\Python25\\Lib\\site-packages\\wx-
2.6-msw-unicode\\wx
when running the embedding_in_wx4.py available in the examples.zip i always
get an error dialog that a wxmsw26uh_vc.dll is missing. Pressing ok button
of the error dialog makes the program run as usual. When I modified the code
and added the line "from pylab import *" the program does not give the
Has anyone tried freezing matplotlib embedded in a wx app (using py2ece,
cx_freeze or pyinstaller)? The setup.py in the FAQ seems to be outdated. I
want to freeze the embedding_in_wx.py in the examples. Do you have any
suggestions or cookbook steps that I can follow?
--