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
Basically what the title says. It's not clear why should axis visibility affect legend visibility. Looking at the code, I suspect it was a copy-paste mistake: DearPyGui::set_configuration for mvPlotAxisConfig repeats the code from DearPyGui::set_configuration for mvPlotLegendConfig. One more proof of that is that DearPyGui::OnChildAdded for mvPlotAxis does not update the legend visibility, whereas it does so when mvPlotLegend gets added.
To Reproduce
Steps to reproduce the behavior:
Call dpg.hide() on one of plot axes.
Expected behavior
Axis visibility should not affect the legend in any way.
Screenshots/Video
Where is my "visible" legend? :)
Standalone, minimal, complete and verifiable example
Version of Dear PyGui
Version: 1.11.2
Operating System: Windows 10
My Issue/Question
Basically what the title says. It's not clear why should axis visibility affect legend visibility. Looking at the code, I suspect it was a copy-paste mistake:
DearPyGui::set_configuration
formvPlotAxisConfig
repeats the code fromDearPyGui::set_configuration
formvPlotLegendConfig
. One more proof of that is thatDearPyGui::OnChildAdded
formvPlotAxis
does not update the legend visibility, whereas it does so whenmvPlotLegend
gets added.To Reproduce
Steps to reproduce the behavior:
Call
dpg.hide()
on one of plot axes.Expected behavior
Axis visibility should not affect the legend in any way.
Screenshots/Video
Where is my "visible" legend? :)
Standalone, minimal, complete and verifiable example
The text was updated successfully, but these errors were encountered: