Skip to main content

scatterd

Python PyPI Version License Downloads Coffee

  • Easy and fast manner of creating scatter plots.

Contents

Installation

  • Install scatterd from PyPI (recommended). scatterd is compatible with Python 3.6+ and runs on Linux, MacOS X and Windows.
  • It is distributed under the MIT license.

Quick Start

pip install scatterd
  • Alternatively, install scatterd from the GitHub source:
git clone https://github.com/erdogant/scatterd.git
cd scatterd
python setup.py install

Import scatterd package

from scatterd import scatterd

Example:

# Import some example data
from sklearn import datasets
iris = datasets.load_iris()
X = iris.data[:, :2]  # we only take the first two features.
y = iris.target

# Make simple scatterplot
scatterd(X[:,0], X[:,1])
# Color based on labels
scatterd(X[:,0], X[:,1], label=y, s=100)
# Set labels
scatterd(X[:,0], X[:,1], label=y, s=100, norm=True, cmap='Set2', xlabel='xlabel', ylabel='ylabel', title='Title')
# Change sizes
s=np.random.randint(10,200,len(y))
scatterd(X[:,0], X[:,1], label=y, s=s, cmap='Set2', xlabel='xlabel', ylabel='ylabel', title='Title', fontsize=25, figsize=(15,10))
# Change figure size
scatterd(X[:,0], X[:,1], figsize=(25,15))

Maintainer

  • Erdogan Taskesen, github: erdogant
  • Contributions are welcome.
  • If you wish to buy me a Coffee for this work, it is very appreciated :)

Metadata

Release files for scatterd 0.1.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 scatterd 0.1.2
File Size Uploaded Provenance Actions
scatterd-0.1.2.tar.gz 4.6 kB Without provenance Details for scatterd-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for scatterd 0.1.2
File Interpreter ABI Platform Actions
scatterd-0.1.2-py3-none-any.whl Python 3 none any Details for scatterd-0.1.2-py3-none-any.whl

Total release size: 10.0 kB

Release files / scatterd-0.1.2.tar.gz

Download URL scatterd-0.1.2.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
77f3fd73703aa3b01e1d1139a01c14d99f3f9964db1dc88acd1367967dd6b0f8
BLAKE2b-256 checksum
How to use checksums
be340dd5aa571b19d827cf16e6fd06aeb43a511b428efcc4db0658199f44dc1a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0.post20200518 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.10

Release files / scatterd-0.1.2-py3-none-any.whl

Download URL scatterd-0.1.2-py3-none-any.whl
Size 5.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2310241d0e700d768657a043a46a62e918105d208e2d9ac488820967565996e1
BLAKE2b-256 checksum
How to use checksums
430c1564d8d6906fa8a83abe83daee6c72df2174673342aae1c715b5bc58f5d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0.post20200518 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.10

Security for scatterd 0.1.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.

Release history Release notifications | RSS feed

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