Skip to main content

未提供项目描述

项目描述

Pypi 安装 最新版本 支持的 Python 版本

使用NetworkXMatplotlib的数学图形模块

示例会话

$ 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]

截图

截屏

以上是上述会话中BinomialTree[3]的 matplotlib 图。

请参阅屏幕截图目录中的其他图表。

安装

从点子:

$ pip install pymathics-graph

来自 git:

$ make develop  # or make install

笔记:

目前,这在mathicsscript中效果很好,但在 Django 界面中效果不佳,尽管图形是在临时目录中创建的,例如/tmp/

下载文件

下载适用于您平台的文件。如果您不确定要选择哪个,请了解有关安装包的更多信息。

源分布

pymathics-graph-2.3.0.tar.gz (21.9 kB 查看哈希)

已上传 source

内置发行版

pymathics_graph-2.3.0-py3.9.egg (55.5 kB 查看哈希

已上传 3 9

pymathics_graph-2.3.0-py3.8.egg (55.5 kB 查看哈希

已上传 3 8

pymathics_graph-2.3.0-py3.7.egg (55.3 kB 查看哈希

已上传 3 7

pymathics_graph-2.3.0-py3.6.egg (55.2 kB 查看哈希

已上传 3 6

pymathics_graph-2.3.0-py2.py3-none-any.whl (22.6 kB 查看哈希

已上传 py2 py3