A collection of plotting functions.
Project description
Lipstick 💄
Lipstick is a simple, lightweight set of tools for creating beautiful visualizations. Just apply some lipstick to your data and you're ready to go!
Installation
Install the latest version of Lipstick with pip:
pip install lipstick
or install the latest development version from GitHub:
pip install git+git://github.com/mohammadbashiri/lipstick.git
Example usage
Creating a gif
Creating animated gifs is easy with Lipstick.
``` python
import numpy as np
import matplotlib.pyplot as plt
from lipstick import GifMaker
with GifMaker("sample.gif") as g:
for i in range(30): # go through the frames
# create a figure
fig, ax = plt.subplots(figsize=(2, 2), dpi=150)
ax.imshow(np.random.rand(3, 3))
ax.text(2, 2, i, ha='center', va='center')
ax.set(xticks=[], yticks=[])
# add the figure object to the GifMaker
g.add(fig)
g.show()
Updating the displayed figure in a loop
You have a loop and you want to update the same figure (with new results) as you go through the loop? You can also use the update_fig method:
:bug: Report bugs (or request features)
If you find a bug or would like to see new features, please create an issue or make a PR :star2:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lipstick-0.0.10.tar.gz.
File metadata
- Download URL: lipstick-0.0.10.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
008dd5e22a5c1044b8caa831f64fc6dd8e3495b832a2b6b060797618c2834ea6
|
|
| MD5 |
3b9727789bed56b6787d87069967f76a
|
|
| BLAKE2b-256 |
8e32b9149876dbeca6d9ac9ef968fca0fe50735c0f24cbe4cf80ba7293315d75
|
Provenance
The following attestation bundles were made for lipstick-0.0.10.tar.gz:
Publisher:
publish.yml on mohammadbashiri/lipstick
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lipstick-0.0.10.tar.gz -
Subject digest:
008dd5e22a5c1044b8caa831f64fc6dd8e3495b832a2b6b060797618c2834ea6 - Sigstore transparency entry: 1382689783
- Sigstore integration time:
-
Permalink:
mohammadbashiri/lipstick@188d9dd63605fcd37b327ea92d1feff9d84ce958 -
Branch / Tag:
refs/tags/v0.0.10 - Owner: https://github.com/mohammadbashiri
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@188d9dd63605fcd37b327ea92d1feff9d84ce958 -
Trigger Event:
push
-
Statement type:
File details
Details for the file lipstick-0.0.10-py3-none-any.whl.
File metadata
- Download URL: lipstick-0.0.10-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
74a3fee7b3ab20ad912916dd727826f8f3a600a60e3c1653408aa12ef149fb7a
|
|
| MD5 |
bfa95c914d08a29bce9431f2906f34e3
|
|
| BLAKE2b-256 |
a6e9d0ac8ebeaf23ed3657210c6e97d11dbbfcfcb8fc2e8417474189d5e7bbca
|
Provenance
The following attestation bundles were made for lipstick-0.0.10-py3-none-any.whl:
Publisher:
publish.yml on mohammadbashiri/lipstick
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lipstick-0.0.10-py3-none-any.whl -
Subject digest:
74a3fee7b3ab20ad912916dd727826f8f3a600a60e3c1653408aa12ef149fb7a - Sigstore transparency entry: 1382689832
- Sigstore integration time:
-
Permalink:
mohammadbashiri/lipstick@188d9dd63605fcd37b327ea92d1feff9d84ce958 -
Branch / Tag:
refs/tags/v0.0.10 - Owner: https://github.com/mohammadbashiri
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@188d9dd63605fcd37b327ea92d1feff9d84ce958 -
Trigger Event:
push
-
Statement type: