Last active
July 21, 2021 15:48
-
-
Save trevismd/8beb731280a797ba8b96af4ee5bda4ca to your computer and use it in GitHub Desktop.
Reference plot 1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with sns.plotting_context("notebook", font_scale=1.4): | |
# Create new plot, setting a logarithmic scale for y | |
ax = get_log_ax() | |
# Plot with seaborn | |
sns.boxplot(ax=ax, data=rfs, x='Subcategory', y='Goal', palette=subcat_palette[1:]) | |
# Label (adds axes labels and title), and show | |
label_plot_for_subcats(ax) | |
plt.savefig("plot1.png") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment