Open lorcat opened 2 years ago
Regarding your second question, "Color and Styles", there has been an update which corrects the following line
dpg.add_theme_color(dpg.mvPlotCol_Line, (60, 150, 200))
see https://dearpygui.readthedocs.io/en/latest/documentation/plots.html#colors-and-styles
adding "category=dpg.mvThemeCat_Plots" to the line will make it work.
-->dpg.add_theme_color(dpg.mvPlotCol_Line, (60, 150, 200), category=dpg.mvThemeCat_Plots)
Regarding your second question, "Color and Styles", there has been an update which corrects the following line
dpg.add_theme_color(dpg.mvPlotCol_Line, (60, 150, 200))
see https://dearpygui.readthedocs.io/en/latest/documentation/plots.html#colors-and-styles adding "category=dpg.mvThemeCat_Plots" to the line will make it work. -->dpg.add_theme_color(dpg.mvPlotCol_Line, (60, 150, 200), category=dpg.mvThemeCat_Plots)
this has been corrected
we will continue to update the docs overtime to include the examples shown or atleast something close to them
I would like to have more examples in the documentation. In particular I am interested in examples shown in the galery under this link:
The code under Color and Styles is a bit ambigious: `# create a theme for the plot with dpg.theme(tag="plot_theme"): with dpg.theme_component(dpg.mvStemSeries): dpg.add_theme_color(dpg.mvPlotCol_Line, (150, 255, 0)) dpg.add_theme_style(dpg.mvPlotStyleVar_Marker, dpg.mvPlotMarker_Diamond, category=dpg.mvThemeCat_Plots) dpg.add_theme_style(dpg.mvPlotStyleVar_MarkerSize, 7, category=dpg.mvThemeCat_Plots)
The colors are added to the theme, but in reality - the default colors are used. I tried to change the color code of:
dpg.add_theme_color(dpg.mvPlotCol_Line, (60, 150, 200))
todpg.add_theme_color(dpg.mvPlotCol_Line, (255, 0, 0))
and the color of the symbols is not changed at all - the default colors are displayed.Describe the solution you'd like I would like to see the code for the examples as source code.