cost 172 ms
類型錯誤:需要類似字節的 object,而不是使用 pyimgui.plot_lines() 時的“列表”

[英]TypeError: a bytes-like object is required, not 'list' when using pyimgui.plot_lines()

賞金將在 6 天后到期。 此問題的答案有資格獲得+50聲望賞金。 Ahmadfromjameedium想讓更多人關注這個問題: 解釋為什么會發生此錯誤以及如何修復它。 這是我的代碼:import imgui foo = [0.9, 1.1, 1.3, 2.5] imgui.begin() im ...

使用 PyImgui/PyOpenGL/GLFW 堆棧渲染三角形

[英]Rendering Triangle using PyImgui/PyOpenGL/GLFW stack

我是中間 GUI 框架世界和 OpenGL 的新手。我試圖讓這個例子工作: 雖然我繼續收到此錯誤: 我確定我錯過了一些東西,盡管我似乎找不到給我提示的神奇文檔。 我可能會嘗試在我應該使用現代方法的地方使用舊版 OpenGL,或者在錯誤的位置添加我的渲染代碼。 任何提示將不勝感激。 我嘗試了一個使用 ...

加載自定義字體時出現 Imgui 斷言錯誤

[英]Imgui asertion error when loading custom font

我正在 pyimgui 中加載自定義字體: 這似乎是每個人都這樣做的方式,但它不起作用。 我得到: ImGui assertion error (0) at imgui-cpp/imgui_draw.cpp:1573每次。 我在macos big sur上。 ...

關閉 Imgui window:這看起來應該很容易。 如何做到這一點?

[英]Closing an Imgui window: this seems like it should be easy. How does one do it?

我已經開始使用imgui系統來可視化“任何東西”。 我在我最初的幾個小時里,並且遇到了似乎很常見的障礙。 然而,雖然我可以看到對 ImGui 的 C++ 版本(我將最終過渡到)的一些很好的支持,但 python imgui 的內容大多是模糊的。 我正在尋找的是以下問題的解決方案: 一切正常。 但是 ...


排序:
質量:
 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM