Skip to content

Commit

Permalink
Fix demo.py Drag function error
Browse files Browse the repository at this point in the history
Fix demo.py Drag function can not set data to YAxis2 and YAxis3 issue.
  • Loading branch information
gengyuchao authored and hoffstadt committed Nov 1, 2024
1 parent 138983b commit b177705
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dearpygui/demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -2754,8 +2754,8 @@ def _axis_drop(sender, app_data, user_data):

# create y axes with drop callbacks
dpg.add_plot_axis(dpg.mvYAxis, label="y1", drop_callback=_axis_drop, payload_type="plotting")
dpg.add_plot_axis(dpg.mvYAxis, label="y2", drop_callback=_axis_drop, payload_type="plotting")
dpg.add_plot_axis(dpg.mvYAxis, label="y3", drop_callback=_axis_drop, payload_type="plotting")
dpg.add_plot_axis(dpg.mvYAxis2, label="y2", drop_callback=_axis_drop, payload_type="plotting")
dpg.add_plot_axis(dpg.mvYAxis3, label="y3", drop_callback=_axis_drop, payload_type="plotting")



Expand Down

0 comments on commit b177705

Please sign in to comment.