@@ -1211,7 +1211,7 @@ def _add_domain_is_3d(layout, s_label, x_domain, y_domain):
12111211 empty_str = ' (empty) ' # empty cell string
12121212
12131213 # 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 "
12151215
12161216 # Init tmp list of lists of strings (sorta like 'grid_ref' but w/ strings)
12171217 _tmp = [['' for c in range (cols )] for r in range (rows )]
@@ -2708,7 +2708,7 @@ def _violinplot(vals, fillcolor='#1f77b4', rugplot=True):
27082708 @staticmethod
27092709 def _violin_no_colorscale (data , data_header , group_header , colors ,
27102710 use_colorscale , group_stats ,
2711- height , width , title , print_grid ):
2711+ height , width , title ):
27122712 """
27132713 Refer to FigureFactory.create_violin() for docstring.
27142714
@@ -2731,7 +2731,7 @@ def _violin_no_colorscale(data, data_header, group_header, colors,
27312731 fig = make_subplots (rows = 1 , cols = L ,
27322732 shared_yaxes = True ,
27332733 horizontal_spacing = 0.025 ,
2734- print_grid = print_grid )
2734+ print_grid = False )
27352735 color_index = 0
27362736 for k , gr in enumerate (group_name ):
27372737 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,
27702770 @staticmethod
27712771 def _violin_colorscale (data , data_header , group_header , colors ,
27722772 use_colorscale , group_stats , height , width ,
2773- title , print_grid ):
2773+ title ):
27742774 """
27752775 Refer to FigureFactory.create_violin() for docstring.
27762776
@@ -2800,7 +2800,7 @@ def _violin_colorscale(data, data_header, group_header, colors,
28002800 fig = make_subplots (rows = 1 , cols = L ,
28012801 shared_yaxes = True ,
28022802 horizontal_spacing = 0.025 ,
2803- print_grid = print_grid )
2803+ print_grid = False )
28042804
28052805 # prepare low and high color for colorscale
28062806 lowcolor = FigureFactory ._color_parser (
@@ -2871,7 +2871,7 @@ def _violin_colorscale(data, data_header, group_header, colors,
28712871
28722872 @staticmethod
28732873 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 ):
28752875 """
28762876 Refer to FigureFactory.create_violin() for docstring.
28772877
@@ -2901,7 +2901,7 @@ def _violin_dict(data, data_header, group_header, colors, use_colorscale,
29012901 fig = make_subplots (rows = 1 , cols = L ,
29022902 shared_yaxes = True ,
29032903 horizontal_spacing = 0.025 ,
2904- print_grid = print_grid )
2904+ print_grid = False )
29052905
29062906 for k , gr in enumerate (group_name ):
29072907 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,
29372937 @staticmethod
29382938 def create_violin (data , data_header = None , group_header = None ,
29392939 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' ):
29422941 """
29432942 Returns figure for a violin plot
29442943
@@ -2970,8 +2969,6 @@ def create_violin(data, data_header=None, group_header=None,
29702969 :param (float) height: the height of the violin plot
29712970 :param (float) width: the width of the violin plot
29722971 :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
29752972
29762973 Example 1: Single Violin Plot
29772974 ```
@@ -3138,15 +3135,13 @@ def create_violin(data, data_header=None, group_header=None,
31383135 # validate colors dict choice below
31393136 fig = FigureFactory ._violin_dict (
31403137 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
31433139 )
31443140 return fig
31453141 else :
31463142 fig = FigureFactory ._violin_no_colorscale (
31473143 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
31503145 )
31513146 return fig
31523147 else :
@@ -3166,8 +3161,7 @@ def create_violin(data, data_header=None, group_header=None,
31663161
31673162 fig = FigureFactory ._violin_colorscale (
31683163 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
31713165 )
31723166 return fig
31733167
0 commit comments