+
Skip to content

dmrowan/promoplot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PromoPlot

Corner plots -- now with ads!

Installation

via git clone:

pip install promoplot/

Usage

from promoplot import PromoPlot

# Generate fake data
df = pd.DataFrame(
    np.random.normal(1, 0.5, size=(1000, 6)),
    columns=[f'col{i+1}' for i in range(6)]
)

kwargs = dict(
        hist_kwargs=dict(lw=3, color='black'),
        labels = df.columns,
        quantiles=[0.5],
        label_kwargs=dict(fontsize=22))

fig = PromoPlot(df, **kwargs)

Add your own ads! Drop a png or jpeg in the ``ad_images'' folder. Works best for equal-aspect or 2:1 aspect images.

About

Corner plots -- now with ads!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载