@@ -287,7 +287,7 @@ DearPyGui::set_data_source(mvAppItem& item, mvUUID dataSource, mvDragPointConfig
287
287
outConfig.value = *static_cast <std::shared_ptr<std::array<double , 4 >>*>(item.getValue ());
288
288
}
289
289
290
- void
290
+ void
291
291
DearPyGui::set_data_source (mvAppItem& item, mvUUID dataSource, std::shared_ptr<std::vector<std::vector<double >>>& outValue)
292
292
{
293
293
if (dataSource == item.config .source ) return ;
@@ -744,7 +744,7 @@ DearPyGui::draw_drag_point(ImDrawList* drawlist, mvAppItem& item, mvDragPointCon
744
744
}
745
745
}
746
746
747
- void
747
+ void
748
748
DearPyGui::draw_bar_series (ImDrawList* drawlist, mvAppItem& item, const mvBarSeriesConfig& config)
749
749
{
750
750
@@ -943,7 +943,7 @@ DearPyGui::draw_scatter_series(ImDrawList* drawlist, mvAppItem& item, const mvBa
943
943
// -----------------------------------------------------------------------------
944
944
// post draw
945
945
// -----------------------------------------------------------------------------
946
- //
946
+ //
947
947
// pop font off stack
948
948
if (item.font )
949
949
ImGui::PopFont ();
@@ -1011,7 +1011,7 @@ DearPyGui::draw_stair_series(ImDrawList* drawlist, mvAppItem& item, const mvBasi
1011
1011
// -----------------------------------------------------------------------------
1012
1012
// post draw
1013
1013
// -----------------------------------------------------------------------------
1014
- //
1014
+ //
1015
1015
// pop font off stack
1016
1016
if (item.font )
1017
1017
ImGui::PopFont ();
@@ -1079,7 +1079,7 @@ DearPyGui::draw_stem_series(ImDrawList* drawlist, mvAppItem& item, const mvBasic
1079
1079
// -----------------------------------------------------------------------------
1080
1080
// post draw
1081
1081
// -----------------------------------------------------------------------------
1082
- //
1082
+ //
1083
1083
// pop font off stack
1084
1084
if (item.font )
1085
1085
ImGui::PopFont ();
@@ -1150,7 +1150,7 @@ DearPyGui::draw_shade_series(ImDrawList* drawlist, mvAppItem& item, const mvBasi
1150
1150
// -----------------------------------------------------------------------------
1151
1151
// post draw
1152
1152
// -----------------------------------------------------------------------------
1153
- //
1153
+ //
1154
1154
// pop font off stack
1155
1155
if (item.font )
1156
1156
ImGui::PopFont ();
@@ -2137,7 +2137,7 @@ DearPyGui::draw_plot_annotation(ImDrawList* drawlist, mvAppItem& item, mvAnnotat
2137
2137
2138
2138
}
2139
2139
2140
- void
2140
+ void
2141
2141
DearPyGui::set_positional_configuration (PyObject* inDict, mvBarSeriesConfig& outConfig)
2142
2142
{
2143
2143
if (!VerifyRequiredArguments (GetParsers ()[GetEntityCommand (mvAppItemType::mvBarSeries)], inDict))
@@ -2435,7 +2435,7 @@ DearPyGui::set_configuration(PyObject* inDict, mvBarSeriesConfig& outConfig)
2435
2435
2436
2436
}
2437
2437
2438
- void
2438
+ void
2439
2439
DearPyGui::set_configuration (PyObject* inDict, mvBasicSeriesConfig& outConfig)
2440
2440
{
2441
2441
if (inDict == nullptr )
@@ -2823,7 +2823,7 @@ DearPyGui::fill_configuration_dict(const mvPlotLegendConfig& inConfig, PyObject*
2823
2823
2824
2824
}
2825
2825
2826
- void
2826
+ void
2827
2827
DearPyGui::fill_configuration_dict (const mvBarSeriesConfig& inConfig, PyObject* outDict)
2828
2828
{
2829
2829
if (outDict == nullptr )
@@ -2984,6 +2984,8 @@ DearPyGui::fill_configuration_dict(const mvSubPlotsConfig& inConfig, PyObject* o
2984
2984
return ;
2985
2985
2986
2986
PyDict_SetItemString (outDict, " rows" , mvPyObject (ToPyInt (inConfig.rows )));
2987
+ PyDict_SetItemString (outDict, " columns" , mvPyObject (ToPyInt (inConfig.cols )));
2988
+ // maybe remove this on next minor release?
2987
2989
PyDict_SetItemString (outDict, " cols" , mvPyObject (ToPyInt (inConfig.cols )));
2988
2990
PyDict_SetItemString (outDict, " row_ratios" , mvPyObject (ToPyList (inConfig.row_ratios )));
2989
2991
PyDict_SetItemString (outDict, " column_ratios" , mvPyObject (ToPyList (inConfig.col_ratios )));
@@ -3072,7 +3074,7 @@ DearPyGui::apply_template(const mvPlotLegendConfig& sourceConfig, mvPlotLegendCo
3072
3074
dstConfig.outside = sourceConfig.outside ;
3073
3075
}
3074
3076
3075
- void
3077
+ void
3076
3078
DearPyGui::apply_template (const mvBarSeriesConfig& sourceConfig, mvBarSeriesConfig& dstConfig)
3077
3079
{
3078
3080
dstConfig.value = sourceConfig.value ;
@@ -3244,7 +3246,7 @@ DearPyGui::apply_template(const mvPlotConfig& sourceConfig, mvPlotConfig& dstCon
3244
3246
// Old Classes, in the process of removing OOP crap
3245
3247
// -----------------------------------------------------------------------------
3246
3248
3247
- void
3249
+ void
3248
3250
mvDragPoint::setPyValue (PyObject* value)
3249
3251
{
3250
3252
std::vector<double > temp = ToDoubleVect (value);
0 commit comments