Skip to main content

scatterd

Python PyPI Version License Downloads Donate

  • 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.

Requirements

pip install numpy matplotlib colourmap

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))

Citation

Please cite scatterd in your publications if this is useful for your research. Here is an example BibTeX entry:

@misc{erdogant2019scatterd,
  title={scatterd},
  author={Erdogan Taskesen},
  year={2019},
  howpublished={\url{https://github.com/erdogant/scatterd}},
}

Maintainers

Contribute

  • Contributions are welcome.

Licence

See LICENSE for details.

Donation

  • This package is created and maintained in my free time. If this package is usefull, you can show your gratitude :) Thanks!

Release files for scatterd 0.1.1

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.1
File Size Uploaded
scatterd-0.1.1.tar.gz 4.6 kB Details

Built distribution (wheel)

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

Total release size: 9.9 kB

Release files / scatterd-0.1.1.tar.gz

Download URL scatterd-0.1.1.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
ca3168b924c040b5440b78a423445c63a3adfd8801fe381406a2cdcabca2843f
BLAKE2b-256 checksum
How to use checksums
20ce9d26b3ab3bda53ffddb9fdd724f781f20ec89d213cfd6b540061232e690d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.10

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

Download URL scatterd-0.1.1-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
90beb3cb366e378479a80fbd81b3f85e5d10bec5468b247b999d29a803d1d124
BLAKE2b-256 checksum
How to use checksums
548efb3c63288ef3e069dcd5916c9545b6ad1e5304bc1c0b9498835d8ec3de80
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.10

Release history Release notifications | RSS feed

1.4.2

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.9

2 release files

1.3.8

2 release files

1.3.7

2 release files

1.3.6

2 release files

1.3.5

2 release files

1.3.4

2 release files

1.3.3

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.7

2 release files

1.2.6

2 release files

1.2.5

2 release files

1.2.4

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.2.0

2 release files

0.1.2

2 release files

This release

0.1.1 This release

2 release files

0.1.0

2 release files

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