Version 2.0
News
We hope everyone is doing well! It has been a while since we've had a new release. This will be the first release in which we introduce a handful of breaking changes (and thus the first time we increase the major version). The majority of the changes with this release are internal and were required to update to the latest versions of Dear ImGui and ImPlot.
The majority of this work was completed by Samuele Mazzi and Vladimir Ein. They deserve recognition for the hard work, dedication, and patience they put into this!
The changelog is below. Also don't forget to checkout the demo!
Changelog
New
- Python 3.13 support
New Functions
- add_axis_tag
- add_bar_group_series
- add_inf_line_series
- add_digital_series
- get_plot_query_rects
- set_axis_limits_constraints
- reset_axis_limits_constraints
- set_axis_zoom_constraints
- reset_axis_zoom_constraints
New arguments
| Function | Arguments |
|---|---|
add_2d_histogram_series |
col_major |
add_button |
repeat |
add_child_window |
always_auto_resizealways_use_window_paddingauto_resize_xauto_resize_yframe_styleresizable_xresizable_y |
add_colormap_scale |
formatmirrorreverse_dir |
add_combo |
fit_width |
add_custom_series |
no_fit |
add_drag_line |
delayedno_cursorno_fitno_inputs |
add_drag_point |
clampeddelayedno_cursorno_fitno_inputsoffset |
add_group |
enabled |
add_heat_series |
col_major |
add_histogram_series |
cumulativehorizontal |
add_input_text |
always_overwriteauto_select_allctrl_enter_for_new_lineescape_clears_allno_horizontal_scrollno_undo_redo |
add_line_series |
loopno_clipsegmentsshadedskip_nan |
add_pie_series |
ignore_hidden |
add_plot |
max_query_rectsmin_query_rectsno_frameno_inputsoverride_modquery_colorzoom_modzoom_rate |
add_plot_axis |
auto_fitforeground_gridno_highlightno_initial_fitno_labelno_menusno_side_switchoppositepan_stretchrange_fitscaletick_format |
add_plot_legend |
no_buttonsno_highlight_axisno_highlight_itemno_menussort |
add_scatter_series |
no_clip |
add_stair_series |
pre_stepshaded |
add_stem_series |
horizontal |
add_subplots |
share_series |
add_table_column |
angled_headerno_header_label |
add_text_point |
offset |
add_tree_node |
span_full_widthspan_text_width |
add_window |
unsaved_document |
configure_app |
anti_aliased_fillanti_aliased_linesanti_aliased_lines_use_texdocking_shift_only |
Deprecated functions
add_hline_series: useadd_inf_line_series()add_vline_series: useadd_inf_line_series()get_plot_query_area: useget_plot_query_rects()is_plot_queried: useget_plot_query_rects()
Deprecated arguments
| Function | Argument | Explanation |
|---|---|---|
add_histogram_series |
cumlative |
Deprecated because of a typo: use cumulative |
add_image_button |
frame_padding |
Not supported anymore by Dear ImGui; still works in DPG but will eventually be removed. |
add_plot |
anti_aliased |
Not supported by ImPlot anymore. To enable/disable anti-aliasing, use dpg.configure_app() with the anti_aliasing parameters. |
add_plot |
no_child |
Removed in ImPlot as child windows are no longer needed to capture scroll. |
add_plot |
no_highlight |
Removed because not supported by ImPlot anymore. To control the highlighting of series use the same argument in add_plot_legend. |
add_plot |
query_buttonquery_mod |
This refers to the old way of querying in ImPlot, now replaced with add_drag_rect(). |
add_plot_axis |
log_scale |
Use scale=dpg.mvPlotScale_Log10 instead. |
add_plot_axis |
time |
Use scale=dpg.mvPlotScale_Time instead. |
add_text_point |
x_offsety_offset |
Use the offset argument instead. |
Fixes
- Fix #2173, #2013, #1593 (last 2 issues are closed but not solved, but they are all related)
- Fix #2108
- Fix #2016
Thank you!
Dear PyGui development is currently funded by a handful of gracious sponsors and we would like to thank them tremendously. We wouldn't be here without you guys.
Thank you for supporting us.
If you or your company uses Dear PyGui, please consider supporting us! We need it now more than ever.
Full Changelog: v1.11.0...v2.0.0