Skip to main content

A modern, one-liner visualization library built on top of Plotly

Project description

ProjectPlyra

A modern, one-liner visualization library built on top of Plotly.

Plyra gives you the power of Plotly with the simplicity of Seaborn. It's built for developers, data scientists, and learners who want beautiful interactive plots with minimal code.

One liner: seaborn-style code, but interactive graphs

🔧 Features

  • Built on plotly.express and plotly.graph_objects
  • One-liner plotting: scatter, hist, bar, box, kde, heatmap, countplot
  • Easy theming (plotly, ggplot2, plotly_dark, etc.)
  • Utilities for merging plots (Utils.join)
  • Supports additional_updates for fine-grained customization

🚀 Installation

pip install plyra

🧪 Quick Example

import plyra as pl
import pandas as pd
import numpy as np

df = pd.DataFrame({
    "age": np.random.randint(10, 60, 100),
    "score": np.random.normal(75, 10, 100),
    "gender": np.random.choice(["Male", "Female"], 100)
})

pl.set_theme("ggplot2")
fig = pl.scatter(df, x="age", y="score", color="gender")
fig.show()

📊 Plot Types

Plot: Function Scatter: pl.scatter() Histogram: pl.hist() KDE: pl.kde() Bar: pl.bar() / pl.barh() Box: pl.box() Heatmap: pl.heatmap() Count: pl.countplot()


🔍 Fine-tuning Your Plot

All plot functions accept:

additional_updates = {
    "layout": {"title_font_size": 24},
    "xaxis": {"tickangle": -45}
}

Use them for full customization without writing messy code.


🧠 Want to Join?

Plyra is indie-built and open-source. Feel free to fork, contribute, or suggest features.

📄 License

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plyra-0.1.1.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

plyra-0.1.1-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file plyra-0.1.1.tar.gz.

File metadata

  • Download URL: plyra-0.1.1.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for plyra-0.1.1.tar.gz
Algorithm Hash digest
SHA256 5ab80ab58ffe7020fb737a703a3af3da2b93b8683303c439ed07239999c4d7ce
MD5 7db5a8feae1450f30ef0c45e15ddebde
BLAKE2b-256 9e30acd4546b44b1485fff80a7010481da4ff1561d8243b664c28d100e87c8f3

See more details on using hashes here.

File details

Details for the file plyra-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: plyra-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for plyra-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8f5c705760ba40cd9b6e930dec9084545ed5dabbfccc58bee999e099aed3ba27
MD5 0c5dfce8dfe8a3b19c17a7fc62f960e8
BLAKE2b-256 84ddb3c5b3faa9ab60e49b573febe70e89d26e7453400c201260f3764e94acad

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page