hoffstadt / hoffstadt/DearPyGui

DearPyGui Demo crashes

Open
#2,387 1 comment 0 reactions 0 assignees View on GitHub
state: pending type: bug
Dominant language
C++
Stars
15.6k
Forks
783
PR merge metrics
No merged PRs in 30d

Description

Version: 1.11.1
Operating System: Windows 11

As a beginner in DearPyGui, I was trying demo ["application"]() promoted by official docs (section 1.3 Demo). Carefully studying and clicking all that is possible, I found the way to crash the program. I use VS Code and Anaconda

Steps to reproduce the behavior:
1. Go to DearPyGui [official tutorial ](https://dearpygui.readthedocs.io/en/latest/tutorials/first-steps.html)
2. Copy and run the code in section 1.3 Demo:
`import dearpygui.dearpygui as dpg`
`import dearpygui.demo as demo`

`dpg.create_context()`
`dpg.create_viewport(title='Custom Title', width=600, height=600)`

`demo.show_demo()`

`dpg.setup_dearpygui()`
`dpg.show_viewport()`
`dpg.start_dearpygui()`
`dpg.destroy_context()`

3. The application must be successfully opened. Click menu "Plots" --> tab "Custom" --> "Custom Series". Find the single legend at the shown plot and **_right_** click in.

4. See error:
The Kernel crashed while executing code in the current cell or a previous cell.
Please review the code in the cell(s) to identify a possible cause of the failure.
Click [here](https://aka.ms/vscodeJupyterKernelCrash) for more info.
View Jupyter [log](command:jupyter.viewOutput) for further details.

Expected behavior: everything except crashing the program

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.