cedadev / jasmin_scivm

9 stars 0 forks source link

install seaborn (statistics module) #118

Closed alaniwi closed 7 years ago

alaniwi commented 7 years ago

https://seaborn.pydata.org/

User-requested. (Ticket 13969.)

alaniwi commented 7 years ago

tested in venv: "pip install"s and imports cleanly

alaniwi commented 7 years ago

Clean RPM build.

Tested with code from http://seaborn.pydata.org/examples/faceted_histogram.html

import numpy as np
import seaborn as sns
import matplotlib.pyplot as plt
sns.set(style="darkgrid")

tips = sns.load_dataset("tips")
g = sns.FacetGrid(tips, row="sex", col="time", margin_titles=True)
bins = np.linspace(0, 60, 13)
g.map(plt.hist, "total_bill", color="steelblue", bins=bins, lw=0)
plt.show()