Skip to main content
https://travis-ci.com/scidam/django_matplotlib.svg?branch=master

Django_matplotlib is a reusable Django app for embedding matplotlib figures into Django driven websites. It can be easily integrated with Django admin app and used in templates via forms.

Documentation: http://django-matplotlib.readthedocs.org/

Requirements

Django 1.11+, <3.0; Python 3.5+, <3.8.

Quick start

  1. Clone git repository to place where Django can find it:

pip install django-matplotlib
  1. Add “django_matplotlib” to your INSTALLED_APPS setting like this:

INSTALLED_APPS = [
    ...
    'django_matplotlib',
    ...
]
  1. Use MatplotlibField in your models.py, e.g.:

from django.db import models
from django_matplotlib.fields import MatplotlibFigureField

class MyModelWithFigure(models.Model):
    # ... other fields
    # figures.py should be in the same directory where models.py is placed.
    # see  ./django_matplotlib/figures.py for example.
    fig = MatplotlibFigureField(figure='test_figure', verbose_name='figure',
                                silent=True)
    # ... other fields
  1. Generate and apply migrations.

Author

Dmitry E. Kislov

E-mail: kislov@easydan.com

Metadata

Release files for django-matplotlib 0.1

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

Source distribution (sdist)

Source distribution for django-matplotlib 0.1
File Size Uploaded Provenance Actions
django-matplotlib-0.1.tar.gz 10.7 kB Without provenance Details for django-matplotlib-0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-matplotlib 0.1
File Interpreter ABI Platform Actions
django_matplotlib-0.1-py3-none-any.whl Python 3 none any Details for django_matplotlib-0.1-py3-none-any.whl

Total release size: 23.1 kB

Release files / django-matplotlib-0.1.tar.gz

Download URL django-matplotlib-0.1.tar.gz
Size 10.7 kB
Tags Source
SHA-256 checksum
How to use checksums
627e86ff5a6b3484cad94c9526c18d368088546f804fc84aad2dde322d5eb5b0
BLAKE2b-256 checksum
How to use checksums
d20c658884385b9d9d207e9ae7c4ad26a8d418776e50c4b170b06c50f51aa400
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3

Release files / django_matplotlib-0.1-py3-none-any.whl

Download URL django_matplotlib-0.1-py3-none-any.whl
Size 12.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c1b64f59a4e8ce5932f7232911a9fcd26c38ce0ed833fc49d88b0bcd8d2b1e7b
BLAKE2b-256 checksum
How to use checksums
dc4d7a0c6fddcfd1d4f588942613deef43e77165bb9cc13dc98204da03318fb8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3

Security for django-matplotlib 0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1 This release

2 release files No provenance

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