考虑过 Traits 名称的局限性吗?
我在尝试构建依赖于 Matplotlib 的 Traits GUI 时遇到了一个奇怪的问题。总结一下:如果,在此处的示例中: http://www.scipy.org/Cookbook/EmbeddingInTraitsGUI< /a>,如果我将“figure”特征的名称(我认为这只是一个我可以按照我想要的方式命名的属性)的名称替换为“figu”,我会收到以下错误: “创建自定义编辑器时发生错误。请联系开发人员。”
我做错了什么,或者该限制是否记录在某处?
提前致谢。
I ran into a weird problem while trying to build a Traits GUI that relies on Matplotlib. To summarize it: if, in the example here: http://www.scipy.org/Cookbook/EmbeddingInTraitsGUI, if I replace everywhere the name of the "figure" trait (which, I thought, was just a property I could name the way I want) by, e.g., "figu", I get the following error: "An error occured creating a custom editor. Please contact the developer."
Am I doing something wrong, or is that limitation documented somewhere?
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您是否记得将
MakePlot
函数中的行从 更改为
Did you remember to change the line in the
MakePlot
function fromto