Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

plottable

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

plottable

Beautifully customized tables with matplotlib

  • 0.1.5
  • PyPI
  • Socket score

Maintainers
1

Beautiful tables in matplotlib.

plottable is a Python library for plotting beautifully customized, presentation ready tables in Matplotlib.

To learn about its functionality, have a look at the documentation.

Quickstart

Installation
pip install plottable
A Basic Example
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd

from plottable import Table

d = pd.DataFrame(np.random.random((5, 5)), columns=["A", "B", "C", "D", "E"]).round(2)
fig, ax = plt.subplots(figsize=(6, 5))
tab = Table(d)

plt.show()

Redoing the Reactable 2019 Women's World Cup Predictions Visualization

You can find the notebook here

Styling A Table

There are three main ways to customize a table:
1) By supplying keywords to the Table
2) Providing a ColumnDefinition for each column you want to style
3) Accessing a tables rows or columns

Contributing

Contributors are very welcome to this project.

Please take a look at the Contributor Guide

Credits

plottable is built for the lack of good table packages in the python ecosystem. It draws inspiration from R packages gt and reactable, from blog posts about creating tables in matplotlib Tim Bayer: How to create custom tables and Son of a corner: Beautiful Tables in Matplotlib, a Tutorial and from matplotlibs own table module.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc