@@ -1211,7 +1211,7 @@ def _add_domain_is_3d(layout, s_label, x_domain, y_domain):
1211
1211
empty_str = ' (empty) ' # empty cell string
1212
1212
1213
1213
# Init grid_str with intro message
1214
- grid_str = "This is the formats of your plot grid:\n "
1214
+ grid_str = "This is the format of your plot grid:\n "
1215
1215
1216
1216
# Init tmp list of lists of strings (sorta like 'grid_ref' but w/ strings)
1217
1217
_tmp = [['' for c in range (cols )] for r in range (rows )]
@@ -2708,7 +2708,7 @@ def _violinplot(vals, fillcolor='#1f77b4', rugplot=True):
2708
2708
@staticmethod
2709
2709
def _violin_no_colorscale (data , data_header , group_header , colors ,
2710
2710
use_colorscale , group_stats ,
2711
- height , width , title , print_grid ):
2711
+ height , width , title ):
2712
2712
"""
2713
2713
Refer to FigureFactory.create_violin() for docstring.
2714
2714
@@ -2731,7 +2731,7 @@ def _violin_no_colorscale(data, data_header, group_header, colors,
2731
2731
fig = make_subplots (rows = 1 , cols = L ,
2732
2732
shared_yaxes = True ,
2733
2733
horizontal_spacing = 0.025 ,
2734
- print_grid = print_grid )
2734
+ print_grid = False )
2735
2735
color_index = 0
2736
2736
for k , gr in enumerate (group_name ):
2737
2737
vals = np .asarray (gb .get_group (gr )[data_header ], np .float )
@@ -2770,7 +2770,7 @@ def _violin_no_colorscale(data, data_header, group_header, colors,
2770
2770
@staticmethod
2771
2771
def _violin_colorscale (data , data_header , group_header , colors ,
2772
2772
use_colorscale , group_stats , height , width ,
2773
- title , print_grid ):
2773
+ title ):
2774
2774
"""
2775
2775
Refer to FigureFactory.create_violin() for docstring.
2776
2776
@@ -2800,7 +2800,7 @@ def _violin_colorscale(data, data_header, group_header, colors,
2800
2800
fig = make_subplots (rows = 1 , cols = L ,
2801
2801
shared_yaxes = True ,
2802
2802
horizontal_spacing = 0.025 ,
2803
- print_grid = print_grid )
2803
+ print_grid = False )
2804
2804
2805
2805
# prepare low and high color for colorscale
2806
2806
lowcolor = FigureFactory ._color_parser (
@@ -2871,7 +2871,7 @@ def _violin_colorscale(data, data_header, group_header, colors,
2871
2871
2872
2872
@staticmethod
2873
2873
def _violin_dict (data , data_header , group_header , colors , use_colorscale ,
2874
- group_stats , height , width , title , print_grid ):
2874
+ group_stats , height , width , title ):
2875
2875
"""
2876
2876
Refer to FigureFactory.create_violin() for docstring.
2877
2877
@@ -2901,7 +2901,7 @@ def _violin_dict(data, data_header, group_header, colors, use_colorscale,
2901
2901
fig = make_subplots (rows = 1 , cols = L ,
2902
2902
shared_yaxes = True ,
2903
2903
horizontal_spacing = 0.025 ,
2904
- print_grid = print_grid )
2904
+ print_grid = False )
2905
2905
2906
2906
for k , gr in enumerate (group_name ):
2907
2907
vals = np .asarray (gb .get_group (gr )[data_header ], np .float )
@@ -2937,8 +2937,7 @@ def _violin_dict(data, data_header, group_header, colors, use_colorscale,
2937
2937
@staticmethod
2938
2938
def create_violin (data , data_header = None , group_header = None ,
2939
2939
colors = None , use_colorscale = False , group_stats = None ,
2940
- height = 450 , width = 600 , title = 'Violin and Rug Plot' ,
2941
- print_grid = True ):
2940
+ height = 450 , width = 600 , title = 'Violin and Rug Plot' ):
2942
2941
"""
2943
2942
Returns figure for a violin plot
2944
2943
@@ -2970,8 +2969,6 @@ def create_violin(data, data_header=None, group_header=None,
2970
2969
:param (float) height: the height of the violin plot
2971
2970
:param (float) width: the width of the violin plot
2972
2971
:param (str) title: the title of the violin plot
2973
- :param (str) print_grid: determines if make_subplots() returns a
2974
- printed string displaying the rows/columns dimensions
2975
2972
2976
2973
Example 1: Single Violin Plot
2977
2974
```
@@ -3138,15 +3135,13 @@ def create_violin(data, data_header=None, group_header=None,
3138
3135
# validate colors dict choice below
3139
3136
fig = FigureFactory ._violin_dict (
3140
3137
data , data_header , group_header , valid_colors ,
3141
- use_colorscale , group_stats , height , width , title ,
3142
- print_grid
3138
+ use_colorscale , group_stats , height , width , title
3143
3139
)
3144
3140
return fig
3145
3141
else :
3146
3142
fig = FigureFactory ._violin_no_colorscale (
3147
3143
data , data_header , group_header , valid_colors ,
3148
- use_colorscale , group_stats , height , width , title ,
3149
- print_grid
3144
+ use_colorscale , group_stats , height , width , title
3150
3145
)
3151
3146
return fig
3152
3147
else :
@@ -3166,8 +3161,7 @@ def create_violin(data, data_header=None, group_header=None,
3166
3161
3167
3162
fig = FigureFactory ._violin_colorscale (
3168
3163
data , data_header , group_header , valid_colors ,
3169
- use_colorscale , group_stats , height , width , title ,
3170
- print_grid
3164
+ use_colorscale , group_stats , height , width , title
3171
3165
)
3172
3166
return fig
3173
3167
0 commit comments