Skip to main content

Pypi Installs Latest Version Supported Python Versions

Mathics3 Graph Module using NetworkX and Matplotlib

Example Session

$ mathicsscript
Mathicscript: 5.0.0, Mathics 6.0.0
on CPython 3.10.4 (main, Jun 29 2022, 12:14:53) [GCC 11.2.0]
using SymPy 1.9, mpmath 1.2.1, numpy 1.21.5
matplotlib 3.5.2,
Asymptote version 2.81

Copyright (C) 2011-2023 The Mathics3 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/.

Release files for Mathics3-graph 9.0.0

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

Source distribution (sdist)

Source distribution for Mathics3-graph 9.0.0
File Size Uploaded
mathics3_graph-9.0.0.tar.gz 56.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for Mathics3-graph 9.0.0
File Interpreter ABI Platform
mathics3_graph-9.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 110.6 kB

Release files / mathics3_graph-9.0.0.tar.gz

Download URL mathics3_graph-9.0.0.tar.gz
Size 56.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d1ebd55cfb146536247c69553ce11655c903123ba818bea38f9fbc9e1edcf849
BLAKE2b-256 checksum
How to use checksums
7deb70bc3cb0aa3a96829d3e548c55b3a4af300abb2e2faf00b90df76a96119a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / mathics3_graph-9.0.0-py3-none-any.whl

Download URL mathics3_graph-9.0.0-py3-none-any.whl
Size 53.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8b7f348d6a1faabc52ce4a1357875c332bf736bcf446ead8e17ed1094442d216
BLAKE2b-256 checksum
How to use checksums
6f57c37c250159dc539fcacb61755a528ea835d77cbb861ede730d6ffeb34530
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

9.0.0 This release

2 release files

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