Skip to main content

No project description provided

Project description

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/.

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-7.0.0.tar.gz (48.9 kB view details)

Uploaded Source

Built Distribution

pymathics_graph-7.0.0-py3-none-any.whl (53.3 kB view details)

Uploaded Python 3

File details

Details for the file pymathics-graph-7.0.0.tar.gz.

File metadata

  • Download URL: pymathics-graph-7.0.0.tar.gz
  • Upload date:
  • Size: 48.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.9

File hashes

Hashes for pymathics-graph-7.0.0.tar.gz
Algorithm Hash digest
SHA256 f5bd25a651ed0191b18e1cc0c26558953d54288b25dbe26eda2cf8bba5233528
MD5 3b5784a5d962987bfbdac8d96267e6d2
BLAKE2b-256 459c09df3f4c222e6edf700c1569f44d2181919e6bab481da64518b5b5624c47

See more details on using hashes here.

File details

Details for the file pymathics_graph-7.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pymathics_graph-7.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0c8564e4b30fc0a87a7e6a056d19f300d5acf8037528017f9795e1ef03fed080
MD5 38ee05490b6c7e185facbfd2dfa13903
BLAKE2b-256 af2cd1d0868bb1cc228278f8d0a74ff45538f2621dc0d718effe3dca1b3e8acc

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