Skip to main content

combogrid

combogrid makes it easier to draw combo charts in a grid, using matplotlib

Combo charts are useful for comparing two different 'y' variables. Grids of charts (aka 'facet grids') are useful for comparing data between groups.

Perhaps you want to see how a single stock's price and volume changed day by day. And you are following multiple stocks, so you want one chart per stock.

Requirements

  • python 3.71 or above
  • pandas

Install

pip install combogrid

Help

import combogrid
help(combogrid.plot)

Use

import pandas as pd
import combogrid
df = pd.read_csv("sample.csv")
df["date"] = pd.to_datetime(df["date"])
plt = combogrid.plot(df, "date", "volume", "price", "color")
plt.show()

Output

Sample image with a grid of combo charts

Release files for combogrid 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for combogrid 0.1.0
File Size Uploaded
combogrid-0.1.0.tar.gz 3.5 kB Details

Built distribution (wheel)

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

Total release size: 7.1 kB

Release files / combogrid-0.1.0.tar.gz

Download URL combogrid-0.1.0.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e807ff1962094f2f798747f9941dd974966044e45c5f7567fb88c18f276f8ed1
BLAKE2b-256 checksum
How to use checksums
e4f6cf8c1579fb0c59b144a41acbf640eddb48a1c79988ef43ad5e6286160a34
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.6 CPython/3.8.3 Linux/5.8.0-50-generic

Release files / combogrid-0.1.0-py3-none-any.whl

Download URL combogrid-0.1.0-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
108559eddfca02d6a2009fe4f19c2b7323560d03b7e6eb341b1cd931c6c183dd
BLAKE2b-256 checksum
How to use checksums
779039bedc7466bba8e8cb7d2d94d1d5fedc024cf84d909b4423820b1c5c46ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.6 CPython/3.8.3 Linux/5.8.0-50-generic

Release history Release notifications | RSS feed

This release

0.1.0 This release

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