Skip to main content

Acmetric-Social-3

Introducing ACMetric package!

Current version: 1.3.2

This package is created to help you use ACMetric's brand colors and build plots without hours of tuning. Enjoy!

Installing on Google Colab

Setting up in Google Colab is described here.

Importing

We recommend importing it along with matplotlib and seaborn.

%matplotlib inline # display plots in the notebook right away
%config InlineBackend.figure_format='retina' # high resolution
import matplotlib.pyplot as plt
import seaborn as sns
import acmetric_plotting as ac

And it is ready to go!

You can find code examples here: Jupyter | Google Colab


Some things you need to know

ac.display_colors() will show you a table with all the colors available and their names.

ac.colors module contains ACMetric colors, you can access them by writing ac.colors.coral, ac.colors.sky_60, etc.

ac.palette is a matplotlib color palette. You can call it and choose a color you like by index, e.g. ac.palette[3].

ac.cmap is a gradient colormap that can be used in seaborn heatmap and other plots.

Run ac.params.layout_color('black') to make axes and text black. Run ac.params.layout_color('default') to make them grey again.

Now 4 kinds of plots are available in the package: bar chart, pie chart, scatter plot and box plot. You can make them using ac.bar, ac.pie, ac.scatter and ac.box. All the possible parameters can be found in the docstring.

Note: it doesn't mean you can't build other kinds of plots. Just import matplotlib or seaborn, and all the plots you create will also be ACMetric branded!

Metadata

Release files for acmetric-plotting 1.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for acmetric-plotting 1.3.2
File Size Uploaded Provenance Actions
acmetric_plotting-1.3.2.tar.gz 44.3 kB Without provenance Details for acmetric_plotting-1.3.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for acmetric-plotting 1.3.2
File Interpreter ABI Platform Actions
acmetric_plotting-1.3.2-py3-none-any.whl Python 3 none any Details for acmetric_plotting-1.3.2-py3-none-any.whl

Total release size: 87.3 kB

Release files / acmetric_plotting-1.3.2.tar.gz

Download URL acmetric_plotting-1.3.2.tar.gz
Size 44.3 kB
Tags Source
SHA-256 checksum
How to use checksums
3e5751fea824822440e034046e7b9ea7693d1cb023e901dfb98cb6ab475d2d8f
BLAKE2b-256 checksum
How to use checksums
dbc3387b93de126015342b192c09789c03dce2179de9c87e484d4fd54b78cb72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.5

Release files / acmetric_plotting-1.3.2-py3-none-any.whl

Download URL acmetric_plotting-1.3.2-py3-none-any.whl
Size 43.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
21cd5ac3c65b7a3ab13bb4e9f8150128f6660522de347f64334661cbe8c9d44a
BLAKE2b-256 checksum
How to use checksums
4d1c7ad5d733ef7f95a87d7713ed3c9e728fb152a14031c01efc34c1dca99090
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.5

Security for acmetric-plotting 1.3.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page