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 construction
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.1.tar.gz (110.6 kB view details)

Uploaded Source

Built Distribution

trame_matplotlib-2.0.1-py3-none-any.whl (110.8 kB view details)

Uploaded Python 3

File details

Details for the file trame-matplotlib-2.0.1.tar.gz.

File metadata

  • Download URL: trame-matplotlib-2.0.1.tar.gz
  • Upload date:
  • Size: 110.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/35.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.11.4 keyring/23.5.1 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.13

File hashes

Hashes for trame-matplotlib-2.0.1.tar.gz
Algorithm Hash digest
SHA256 91191277723f3c4077e55dc98c67326d599a9c449c5e753c4e674348ba0bd728
MD5 2fa0e24a0a99423bd80c7cdc1148cef0
BLAKE2b-256 13c00e16584b6a307a77b6318b1f5fb42d8f3a372a30a393ca71951764141c86

See more details on using hashes here.

File details

Details for the file trame_matplotlib-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: trame_matplotlib-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 110.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/35.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.11.4 keyring/23.5.1 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.13

File hashes

Hashes for trame_matplotlib-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fa7d7a8ce94e8a5f93d2001cea07692090d69e271d946f822d0313b30b87ffb4
MD5 b8fdf0f59f18d931908d3816f87422c8
BLAKE2b-256 69033494c1f330fffcab2ff192f72f97d299d3af56ddc345e23da0eb00ff79c9

See more details on using hashes here.

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