Skip to main content

A Python package for enhanced data visualization

Project description

dsci_524_ezplot

Documentation Status

ezplot is a Python package designed to simplify data visualization for data scientists and analysts. This package generates commonly used plots easily and quickly, allowing users to focus on insights rather than coding. The package provides robust and user-friendly functions for creating line plots, scatter plots, histograms, and heatmaps, making it a perfect tool for quick and effective data exploration and presentation.

Installation

You can install the package directly from GitHub:

pip install git+https://github.com/UBC-MDS/dsci_524_ezplot.git

Usage

The ezplot package provides the following functions:

  • plot_line(): Generates line plots for visualizing trends and changes over time in your dataset.
  • plot_scatterplot(): Creates scatter plots to analyze relationships between two continuous variables, with optional color and size adjustments.
  • plot_histogram(): Quickly creates histograms to understand the distribution of a single variable, including options to adjust bin size.
  • plot_heatmap(): Creates heatmaps to visualize correlations or matrix-like data, with customizable color palettes for better interpretability.

Example

Here’s how you can create a heatmap using ezplot:

from dsci_524_ezplot.plot_heatmap import plot_heatmap
import pandas as pd
import numpy as np

# Create sample data
data = pd.DataFrame(np.random.rand(5, 5), columns=["A", "B", "C", "D", "E"])

# Generate a heatmap
fig, ax = plot_heatmap(data, title="Sample Heatmap", xlabel="Columns", ylabel="Rows")

# Display the plot
import matplotlib.pyplot as plt
plt.show()

Where This Package Fits in the Python Ecosystem

The Python ecosystem already offers powerful visualization libraries like Matplotlib, Seaborn, and Plotly. However, these libraries often require significant boilerplate code to customize and generate specific plots. ezplot aims to bridge the gap between flexibility and simplicity by providing pre-built functions tailored for common visualization needs. While Seaborn and Matplotlib offer extensive functionality, ezplot is designed to be lightweight and accessible for users who need straightforward plotting tools without diving into extensive customization.

Contributing

Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.

License

dsci_524_ezplot was created by Daduica Julian, Elshaday Yoseph, Henry(Mu) Ha, Zhou Yining. It is licensed under the terms of the MIT license.

Credits

dsci_524_ezplot was created with cookiecutter and the py-pkgs-cookiecutter template.

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

dsci_524_ezplot-0.1.0.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

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

dsci_524_ezplot-0.1.0-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file dsci_524_ezplot-0.1.0.tar.gz.

File metadata

  • Download URL: dsci_524_ezplot-0.1.0.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.13.1 Darwin/24.0.0

File hashes

Hashes for dsci_524_ezplot-0.1.0.tar.gz
Algorithm Hash digest
SHA256 72a86ad8e88d3604ac77c8b7d1652a08b94ed063c7326e0fb751801ca08ccfac
MD5 dd70d353daaf3078804bb51f80f4edb2
BLAKE2b-256 b55cfa243831df9e9c082a580faedd595d80251355e9c36a1c7947b407bb789f

See more details on using hashes here.

File details

Details for the file dsci_524_ezplot-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: dsci_524_ezplot-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.13.1 Darwin/24.0.0

File hashes

Hashes for dsci_524_ezplot-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5b914af847db9a1c02fc91821e17a2c71bcf4458626618011ce68a4480551c47
MD5 e01d5376b387033b9c2f3c08a30791db
BLAKE2b-256 f45619597e6614af75e2ff5c812f50cd3d31caec019065ed1189929fb422a049

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