문제

Is there an integration interface between wxpython and Chaco?

Documentation seems sparse, the Anaconda package had examples for VTK and QT but not WX.

This was the closest documentation I found, but it's outdated. http://docs.enthought.com/chaco/user_manual/how_do_i.html The enable package does not have wx_backend anymore. Tried switching to enable.wx.base_window but got NotImplementedError.

도움이 되었습니까?

해결책

Willy, thanks for pointing out that our WX example is broken: the place to import the Window should be:

from enable.api import Window

The rest of the code is the same.

다른 팁

Try to set environ variable at the beggining of the script

import os
os.environ['ETS_TOOLKIT']='wx'
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top