Simple Graphs
A small Python project focused on making data visualization and data loading simpler and more convenient.
The main idea is to create reusable utilities that reduce repetitive code when working with Matplotlib and Pandas.
This project is also being developed as a learning project for Python packaging, automated testing, and eventually publishing a package to PyPI.
Features
make_plot()
A helper function for quickly creating and configuring Matplotlib plots.
It currently supports:
- X and Y axis labels;
- plot titles;
- horizontal reference lines;
- vertical reference lines;
- grid;
- legends;
- figure size;
- X and Y axis limits;
- optional automatic display of the plot.
Example:
import numpy as np
from simple_graphs import make_plot
x = np.linspace(0, 10, 100)
y = x**2
make_plot(
x,
y,
xlabel="Time (s)",
ylabel="Position (m)",
title="Position over Time",
)
load_data_automatically()
A utility for loading data into a Pandas DataFrame without having to manually choose the appropriate Pandas reader.
The function can currently work with:
- CSV files;
- Excel files (
.xlsxand.xls); - JSON files;
- Parquet files;
- file-like objects and in-memory buffers.
The file format can be deter
Release files for plotting-dataframes-laranjodupy 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| plotting_dataframes_laranjodupy-0.1.0.tar.gz | 4.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| plotting_dataframes_laranjodupy-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.5 kB
Release files / plotting_dataframes_laranjodupy-0.1.0.tar.gz
| Download URL | plotting_dataframes_laranjodupy-0.1.0.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5ba17d1d8ab4c0ac1c8c21324e080edbb9fdf5f124ab9a684f1cddcb336f0434
|
|
BLAKE2b-256 checksum How to use checksums |
4efbbeeff035c5a9edcde88e06885b697860e4ca246a476fab5e1f24fdb01ed9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.9
|
Release files / plotting_dataframes_laranjodupy-0.1.0-py3-none-any.whl
| Download URL | plotting_dataframes_laranjodupy-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6f884fbb71e1855cb14ddf80d9a818cf53467655a022e06479bdf54b3529a598
|
|
BLAKE2b-256 checksum How to use checksums |
bbc80ca051f0e598238af92ccca49e026001e208ce17c4fec0475216d44ddeff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.9
|