Answers for "seaborn set figure size example"

0

seaborn expand plot to full width jupyter notebook

plt.rcParams['figure.figsize'] = [width, height]
Posted by: Guest on May-29-2020
0

seaborrn set figsize

from matplotlib import pyplot
import seaborn

import mylib

a4_dims = (11.7, 8.27)
df = mylib.load_data()
fig, ax = pyplot.subplots(figsize=a4_dims)
seaborn.violinplot(ax=ax, data=df, **violin_options)
Posted by: Guest on April-17-2020

Python Answers by Framework

Browse Popular Code Answers by Language