55from Grasshopper .Kernel import GH_RuntimeMessageLevel as RML
66
77from diffCheck import df_visualization
8- from diffCheck import df_gh_canvas
8+ from diffCheck import df_gh_canvas_utils
99
1010
1111class DFVisualizationSettings (component ):
@@ -22,38 +22,38 @@ def __init__(self):
2222 X_cord = params [j ].Attributes .Pivot .X
2323 input_indx = j
2424 if "i_value_type" == params [j ].NickName :
25- df_gh_canvas .add_str_valuelist (
25+ df_gh_canvas_utils .add_str_valuelist (
2626 ghenv .Component , # noqa: F821
2727 self .poss_value_types ,
2828 "DF_value_t" ,
2929 input_indx , X_cord , Y_cord )
3030 if "i_palette" == params [j ].NickName :
31- df_gh_canvas .add_str_valuelist (
31+ df_gh_canvas_utils .add_str_valuelist (
3232 ghenv .Component , # noqa: F821
3333 self .poss_palettes ,
3434 "DF_palette" ,
3535 input_indx , X_cord , Y_cord )
3636 if "i_legend_height" == params [j ].NickName :
37- df_gh_canvas .add_slider (
37+ df_gh_canvas_utils .add_slider (
3838 ghenv .Component , # noqa: F821
3939 "DF_legend_height" ,
4040 input_indx ,
4141 0.000 , 20.000 , 10.000 ,
4242 X_cord , Y_cord )
4343 if "i_legend_width" == params [j ].NickName :
44- df_gh_canvas .add_slider (
44+ df_gh_canvas_utils .add_slider (
4545 ghenv .Component , # noqa: F821
4646 "DF_legend_width" ,
4747 input_indx ,
4848 0.000 , 2.000 , 0.500 ,
4949 X_cord , Y_cord )
5050 if "i_legend_plane" == params [j ].NickName :
51- df_gh_canvas .add_plane_object (
51+ df_gh_canvas_utils .add_plane_object (
5252 ghenv .Component , # noqa: F821
5353 "DF_legend_plane" ,
5454 input_indx , X_cord , Y_cord )
5555 if "i_histogram_scale_factor" == params [j ].NickName :
56- df_gh_canvas .add_slider (
56+ df_gh_canvas_utils .add_slider (
5757 ghenv .Component , # noqa: F821
5858 "DF_histogram_scale_factor" ,
5959 input_indx ,
0 commit comments