Skip to main content

Markdown widget for trame

Project description

trame-matplotlib extend trame widgets with a component that is capable of rendering Matplotlib plots. This library allow you to create rich visualization by leveraging Matplotlib within trame.

Installing

trame-matplotlib can be installed with pip:

pip install --upgrade trame-matplotlib

Usage

The Trame Tutorial is the place to go to learn how to use the library and start building your own application.

The API Reference documentation provides API-level documentation.

License

trame-matplotlib is made available under the BSD-3 License. For more details, see LICENSE This package is under the BSD-3 License as it is compatible with matplotlib and mpld3 which are used underneath that trame widget.

Community

Trame | Discussions | Issues | RoadMap | Contact Us

https://zenodo.org/badge/410108340.svg

Enjoying trame?

Share your experience with a testimonial or with a brand approval.

Code sample

Using the component method

import matplotlib.pyplot as plt
from trame.widgets import matplotlib

fig, ax = plt.subplots(**figure_size)

widget = matplotlib.Figure(figure=None) # could pass fig at constrution
widget.update(fig)

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

trame-matplotlib-2.0.0rc2.tar.gz (110.7 kB view details)

Uploaded Source

Built Distribution

trame_matplotlib-2.0.0rc2-py3-none-any.whl (110.7 kB view details)

Uploaded Python 3

File details

Details for the file trame-matplotlib-2.0.0rc2.tar.gz.

File metadata

  • Download URL: trame-matplotlib-2.0.0rc2.tar.gz
  • Upload date:
  • Size: 110.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for trame-matplotlib-2.0.0rc2.tar.gz
Algorithm Hash digest
SHA256 e90b262c34e797d14869f488929e99b29de79302ea46ec7680f34aa5c6ae3281
MD5 789a31a2cff04ac6728532e9a515b96c
BLAKE2b-256 bc5bd6790ac29cfe72253d36aa0d8706ebc031ab47c570c3340d58e98d43476d

See more details on using hashes here.

Provenance

File details

Details for the file trame_matplotlib-2.0.0rc2-py3-none-any.whl.

File metadata

File hashes

Hashes for trame_matplotlib-2.0.0rc2-py3-none-any.whl
Algorithm Hash digest
SHA256 f962019e50a77de4d279b17e9bb824f0ad514ad6aefcd45d1dda21289d71e61a
MD5 561a970e217ed6cee675b9ed5314cb28
BLAKE2b-256 5050e70781b6d634346c251a7d7594f3dbd88d111986436d03bf8a660069a526

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page