有人成功地将 Matplotlib 图形嵌入到 FLTKHS GUI 中吗?

发布于 2025-01-13 06:24:57 字数 256 浏览 3 评论 0原文

我对 FLTKHS 和 Haskell matplotlib 库都很陌生,所以如果问题很愚蠢,请原谅。

FLTK 的底层是 C++。

matlplotlib 的底层是 Python。

在我看来,将图形句柄传递到 GUI 框架中可能效果不佳。

另一方面,Haskell 社区之前已经提出了很多聪明的解决方案,所以也许它效果很好。

有人成功做到这一点吗?

如果是这样,您能否发布一个简短的示例来说明您是如何做到的?

I am new to both FLTKHS and the Haskell matplotlib library, so please forgive if question is dumb.

FLTK is C++ under the hood.

matlplotlib is Python under the hood.

It seems to me that passing a handle for the graph into the GUI frame might not work well.

On the other hand, the Haskell community has come up with a lot of clever solutions before, so maybe it works just fine.

Has anyone successfully done this?

If so, can you post a short example that illustrates how you did it?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文