Horje
xlabel seaborn Code Example
xlabel seaborn
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
tick labels vertical matplotlib Code Example tick labels vertical matplotlib Code Example
python get newest file in directory Code Example python get newest file in directory Code Example
download pdf from url python Code Example download pdf from url python Code Example
download pdf from link using python Code Example download pdf from link using python Code Example
code how pandas save csv file Code Example code how pandas save csv file Code Example

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