Mathics3 Graph Module using NetworkX
Project description
Mathics3 Graph Module using NetworkX and Matplotlib
Example Session
$ mathicsscript
Mathicscript: 10.0.0, Mathics3 10.0.0
on CPython 3.14.3 (main, Mar 30 2026, 06:42:16) [GCC 13.3.0]
Using:
SymPy 1.13.3, mpmath 1.3.0, numpy 2.4.4
cython 3.2.4, matplotlib 3.10.8,
Asymptote version 2.95
Copyright (C) 2011-2026 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 evaluating Quit[] or 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
The above is the matplotlib graph for BinomialTree[3] in the session above.
See the screenshot directory the other graphs.
Installation
From pip:
$ pip install Mathics3-Module-networkx
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/.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mathics3_module_networkx-10.0.0.tar.gz.
File metadata
- Download URL: mathics3_module_networkx-10.0.0.tar.gz
- Upload date:
- Size: 57.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c3aed60faa91aeed958286647aec2dc44b7fb0e1e103184ba9677dd771ac26d7
|
|
| MD5 |
6eca4ad99bd9d26c80058dbe261ce060
|
|
| BLAKE2b-256 |
acc18f57b573abe58c9cb6a1dbb415f43582e4799de842b40dd146e8e7f513a9
|
File details
Details for the file mathics3_module_networkx-10.0.0-py3-none-any.whl.
File metadata
- Download URL: mathics3_module_networkx-10.0.0-py3-none-any.whl
- Upload date:
- Size: 54.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
85a49ebd5170d64da7731726790cb226e644d5a99953888d98891a9406cf08f5
|
|
| MD5 |
e374437344cec0f35ae3f06420f04753
|
|
| BLAKE2b-256 |
7f818089d26dba20b61f7caa5f55b2d05afbefabfc1a68622459dd01e041a337
|