Horje
seaborn plot set ylabel Code Example
seaborn plot set ylabel
import pandas as pd
import seaborn as sns
import matplotlib.pyplot as plt

fake = pd.DataFrame({'cat': ['red', 'green', 'blue'], 'val': [1, 2, 3]})
ax = sns.barplot(x = 'val', y = 'cat', 
              data = fake, 
              color = 'black')
ax.set(xlabel='common xlabel', ylabel='common ylabel')
plt.show()




Python

Related
txt to list python Code Example txt to list python Code Example
Connecting Kaggle to Google Colab Code Example Connecting Kaggle to Google Colab Code Example
how to scroll down to end of page in selenium python Code Example how to scroll down to end of page in selenium python Code Example
inverse matrix python Code Example inverse matrix python Code Example
cannot import name 'abc' from 'bson.py3compat' Code Example cannot import name 'abc' from 'bson.py3compat' Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7