A Python package for easy-to-use advanced visualizations
Project description
PlotMagic
PlotMagic is a Python package designed to create advanced visualizations with minimal input, making data visualization effortless and accessible for users. Whether you're a beginner or an expert, PlotMagic generates high-quality plots with just a few lines of code.
Features
- Simple Line Charts
- Bar Charts
- Scatter Plots
- Heatmaps
- Pie Charts
- Box Plots
- Histograms
- Pair Plots
Usage
Here is how you can use the functions in PlotMagic to create various visualizations:
from plot_magic import viz
Create a line chart
- data = [10, 20, 30, 25, 15]
- viz.line_chart(data)
Create a bar chart
- categories = ['A', 'B', 'C']
- values = [15, 30, 45]
- viz.bar_chart(categories, values)
Create a heatmap
- import numpy as np
- heatmap_data = np.random.rand(10, 10)
- viz.heatmap(heatmap_data)
Create a scatter plot
- x = [1, 2, 3, 4, 5]
- y = [10, 15, 8, 12, 18]
- viz.scatter_plot(x, y)
Create a pie chart
- labels = ['Category 1', 'Category 2', 'Category 3']
- sizes = [30, 45, 25]
- viz.pie_chart(labels, sizes)
Visualizations
- Line Chart: Displays trends over time or categories.
- Bar Chart: Compares different categories with clear bar representation.
- Scatter Plot: Visualizes relationships between two variables.
- Heatmap: Displays data using color gradients, perfect for correlation matrices.
- Pie Chart: Shows proportion data in a circular layout.
- Box Plot: Displays data distribution based on quartiles.
- Histogram: Visualizes the frequency distribution of data.
- Pair Plot: Creates a grid of scatter plots for multivariate data analysis.
Installation
You can install the package using pip:
pip install PlotMagic
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 plotmagic-0.3.tar.gz.
File metadata
- Download URL: plotmagic-0.3.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bfd1a64f66c57a3ed958292245776ba4ac23edaaeeb04b44477e17f4c25b7be3
|
|
| MD5 |
8364504a092062857cc186fd91acfea1
|
|
| BLAKE2b-256 |
eba11e74bdb50ed3e69964dcd8540ca409c27ed8bf1b52fc15f0e6e36aa2b7f2
|
File details
Details for the file PlotMagic-0.3-py3-none-any.whl.
File metadata
- Download URL: PlotMagic-0.3-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
826ae083f34b17bc9f027c0af1af551668ef1f40067ce05c14b27a7d43124c27
|
|
| MD5 |
3f8094550964d6152cf0a8d9ab0ce5f0
|
|
| BLAKE2b-256 |
9fd2fcd0d5187b5b711d912ef5a7cf4cb48c02779693d0b464dccb388d824323
|