File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -398,7 +398,7 @@ def effectsize_df_plotter(effectsize_df, **plot_kwargs):
398398 legend_kwargs = legend_kwargs
399399 )
400400
401- ########## WIP LEGENDS
401+ # Add legend for swarmplot
402402 if not show_pairs and not proportional and color_col is not None and not show_delta2 :
403403 if len (np .unique (swarm_legend_kwargs ['index' ])) > 1 :
404404 legend_elements = []
@@ -407,8 +407,6 @@ def effectsize_df_plotter(effectsize_df, **plot_kwargs):
407407 markerfacecolor = color , markersize = 10 ))
408408 rawdata_axes .legend (handles = legend_elements , frameon = False )
409409
410- ########## WIP LEGENDS
411-
412410 # Plot aesthetic adjustments.
413411 og_ylim_raw = rawdata_axes .get_ylim ()
414412 og_xlim_raw = rawdata_axes .get_xlim ()
Original file line number Diff line number Diff line change 457457 " legend_kwargs=legend_kwargs\n " ,
458458 " )\n " ,
459459 " \n " ,
460- " ########## WIP LEGENDS \n " ,
460+ " # Add legend for swarmplot \n " ,
461461 " if not show_pairs and not proportional and color_col is not None and not show_delta2:\n " ,
462462 " if len(np.unique(swarm_legend_kwargs['index'])) > 1:\n " ,
463463 " legend_elements = []\n " ,
466466 " markerfacecolor=color, markersize=10))\n " ,
467467 " rawdata_axes.legend(handles=legend_elements, frameon=False)\n " ,
468468 " \n " ,
469- " ########## WIP LEGENDS\n " ,
470- " \n " ,
471469 " # Plot aesthetic adjustments.\n " ,
472470 " og_ylim_raw = rawdata_axes.get_ylim()\n " ,
473471 " og_xlim_raw = rawdata_axes.get_xlim()\n " ,
You can’t perform that action at this time.
0 commit comments