You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a font is bound to dpg.plot_axis, the application immediately segfaults.
This is caused by ImGui::PopFont() in DearPyGui::draw_plot_axis, which does not have a corresponding PushFont.
To Reproduce
Steps to reproduce the behavior:
Create a plot.
Use dpg.bind_item_font on one of the axes.
Expected behavior
No crash. Ideally, the font should be applied to this axis' label, but if that is not possible (due to the way ImPlot renders plot elements), at least ignore the font and don't segfault.
Screenshots/Video
None.
Standalone, minimal, complete and verifiable example
Version of Dear PyGui
Version: 1.11.2
Operating System: Windows
My Issue/Question
When a font is bound to
dpg.plot_axis
, the application immediately segfaults.This is caused by
ImGui::PopFont()
inDearPyGui::draw_plot_axis
, which does not have a correspondingPushFont
.To Reproduce
Steps to reproduce the behavior:
dpg.bind_item_font
on one of the axes.Expected behavior
No crash. Ideally, the font should be applied to this axis' label, but if that is not possible (due to the way ImPlot renders plot elements), at least ignore the font and don't segfault.
Screenshots/Video
None.
Standalone, minimal, complete and verifiable example
The text was updated successfully, but these errors were encountered: