Skip to main content

No project description provided

Project description

Pypi Installs Latest Version Supported Python Versions

Mathics Graph Module using NetworkX and Matplotlib

Example Session

$ mathicsscript
Mathics 3.0.1
on CPython 3.6.12 (default, Oct 24 2020, 10:34:18)
using SymPy 1.8, mpmath 1.2.1, cython 0.29.22

Copyright (C) 2011-2021 The Mathics Team.
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions.
See the documentation for the full license.

Quit by pressing CONTROL-D

In[1]:= LoadModule["pymathics.graph"]
Out[1]= pymathics.graph
In[2]:= BinomialTree[3]
In[3]:= BinomialTree[6]
In[4]:= CompleteKaryTree[3, VertexLabels->True]

Screenshots

screenshot

The above is the is the matplotlib graph for BinomialTree[3] in the session above.

See the screenshot directory the other graphs.

Installation

From pip:

$ pip install pymathics-graph

From git:

$ make develop  # or make install

Note:

Currently this works well in mathicsscript but not in the Django interface, although graphs are created in a temporary directory, e.g. /tmp/.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pymathics-graph-2.3.0.tar.gz (21.9 kB view hashes)

Uploaded source

Built Distributions

pymathics_graph-2.3.0-py3.9.egg (55.5 kB view hashes)

Uploaded 3 9

pymathics_graph-2.3.0-py3.8.egg (55.5 kB view hashes)

Uploaded 3 8

pymathics_graph-2.3.0-py3.7.egg (55.3 kB view hashes)

Uploaded 3 7

pymathics_graph-2.3.0-py3.6.egg (55.2 kB view hashes)

Uploaded 3 6

pymathics_graph-2.3.0-py2.py3-none-any.whl (22.6 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page