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
with dpg.window(label="Tutorial", width=400, height=400):
with dpg.group(horizontal=True):
dpg.add_button(label="zoom fit", callback=lambda: zoom_fit())
with dpg.plot(tag="ViewArea",height=-1, width=-1,no_mouse_pos=True):
This issue was already reported in #1852 together with dpg.set_axis_ticks() in #1855.
Similarly, #1886 was already reported 3 months ago #1817 and #1893 was already reported in #1846 for tree node.
All the three bugs were reported prior the new release. The bug reports were ignored so now we have 6 reports instead of just 3.
Version of Dear PyGui
Version: 1.7.1
Operating System: Windows 10
My Issue/Question
When I go to set the limits for both the x and y axes with the "set_axis_limits" function, the limits of only one axis and not of both are set
To Reproduce
import dearpygui.dearpygui as dpg
dpg.create_context()
def zoom_fit():
dpg.set_axis_limits("x_axis", -100, 100)
dpg.set_axis_limits("y_axis", -100, 100)
with dpg.window(label="Tutorial", width=400, height=400):
with dpg.group(horizontal=True):
dpg.add_button(label="zoom fit", callback=lambda: zoom_fit())
with dpg.plot(tag="ViewArea",height=-1, width=-1,no_mouse_pos=True):
dpg.create_viewport(title='Custom Title', width=800, height=600)
dpg.setup_dearpygui()
dpg.show_viewport()
dpg.start_dearpygui()
dpg.destroy_context()
The text was updated successfully, but these errors were encountered: