MCPcopy Index your code
hub / github.com/andrewcharlesjones/plottify

github.com/andrewcharlesjones/plottify @v1.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.1 ↗ · + Follow
2 symbols 17 edges 6 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

plottify

PyPI

The plottify package is makes matplotlib plots more legible. It's a thin wrapper around matplotlib that automatically adjusts font sizes, scatter point sizes, line widths, etc. according to the figure size.

Installation

pip install plottify

Usage

The plottify interface is extremely simple and relies on one central function, autosize(). After you've created a plot, simply call autosize() and the sizes will be adjusted:

from plottify import autosize
import matplotlib.pyplot as plt

plt.scatter(x, y)
autosize()
plt.show()

If you have a matplotlib figure object, you can pass it as an argument to autosize:

autosize(fig)

Demonstration

By default, matplotlib sets the sizes of these objects to pre-specified values, regardless of the figure size. This can result in tiny fonts or sizes for larger figures.

Plottify's autosize function adjusts these sizes automatically to make them more legible. When we change the figure size, plottify automatically adjusts the objects' sizes.

demo

Bugs and feature requests

Please report any bugs or feature requests as a GitHub issue.

Core symbols most depended-on inside this repo

autosize
called by 3
plottify/plottify.py

Shape

Function 2

Languages

Python100%

Modules by API surface

tests/test_import.py1 symbols
plottify/plottify.py1 symbols

For agents

$ claude mcp add plottify \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact