DearPyGui icon indicating copy to clipboard operation
DearPyGui copied to clipboard

add_2d_histogram_series function crashed without any log

Open Hshafiee opened this issue 3 years ago • 1 comments

Version: 1.6.2 Operating System: Windows 10

My Issue/Question

my app crashed without any log after use dpg.add_2d_histogram_series

Standalone, minimal, complete and verifiable example

# Here's some code anyone can copy and paste to reproduce your issue
import dearpygui.dearpygui as dpg

dpg.create_context()
dpg.create_viewport()
dpg.setup_dearpygui()

with dpg.window(label="Histogram APP"):
    with dpg.plot(label="Plot"):
        dpg.add_plot_legend()
        dpg.add_plot_axis(dpg.mvXAxis, tag="x_axis" )
        dpg.add_line_series([-2,-1,0,1,2], [0,1,2,3,4], label="Lines", parent="x_axis")


        dpg.add_2d_histogram_series([-2,-1,0,1,2], [0,1,2,3,4] , label='Histogram' , parent="x_axis")


dpg.show_viewport()
dpg.start_dearpygui()
dpg.destroy_context()

Hshafiee avatar May 11 '22 11:05 Hshafiee

Fixed in next release.

hoffstadt avatar May 11 '22 12:05 hoffstadt