Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
"Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, and MATLAB"
Copyright (C) 2005-2024 The Sage Development Team
SageMath fully supports all major Linux distributions, recent versions of macOS, and Windows (Windows Subsystem for Linux).
See https://doc.sagemath.org/html/en/installation/index.html for general installation instructions.
This pip-installable distribution passagemath-plot
is a distribution of a part of the Sage Library.
It provides the namespace packages sage.plot
and sage.plot.plot3d
, which provide functions for plotting that are very similar to Mathematica's plotting functions. This is analogous to how matplotlib's pyplot
package provides a UI on top of the core matplotlib
library that is similar to matlab's plotting UI.
2D Graphics <https://doc.sagemath.org/html/en/reference/plotting/index.html>
_
Backend for 2D graphics: matplotlib <https://doc.sagemath.org/html/en/reference/spkg/matplotlib.html>
_
3D Graphics <https://doc.sagemath.org/html/en/reference/plot3d/index.html>
_
Backend for 3D graphics: three.js <https://doc.sagemath.org/html/en/reference/spkg/threejs.html>
_
Interfaces: Gnuplot <https://doc.sagemath.org/html/en/reference/interfaces/sage/interfaces/gnuplot.html>
, Jmol <https://doc.sagemath.org/html/en/reference/interfaces/sage/interfaces/jmoldata.html>
, POV-Ray <https://doc.sagemath.org/html/en/reference/interfaces/sage/interfaces/povray.html>
, Tachyon <https://doc.sagemath.org/html/en/reference/interfaces/sage/interfaces/tachyon.html>
::
$ pipx run --pip-args="--prefer-binary" --spec "passagemath-plot[test]" ipython
In [1]: from sage.all__sagemath_plot import *
In [2]: scatter_plot([[0,1],[2,2],[4.3,1.1]], marker='s').save('output.png')
In [3]: G = tetrahedron((0,-3.5,0), color='blue') + cube((0,-2,0), color=(.25,0,.5))
In [4]: G.show(aspect_ratio=[1,1,1]) Graphics3d Object
pip install "passagemath-plot[jsmol]"
Alternative backend for 3D graphics: jupyter-jsmol <https://doc.sagemath.org/html/en/reference/spkg/jupyter_jsmol.html>
_
pip install "passagemath-plot[polyhedra]"
Polyhedra in arbitrary dimension, plotting in dimensions 2, 3, 4: passagemath-polyhedra <https://pypi.org/project/passagemath-polyhedra/>
_
pip install "passagemath-plot[graphs]"
Graphs and networks: sagemath-graphs <https://pypi.org/project/passagemath-graphs/>
_
pip install "passagemath-plot[symbolics]"
Defining and plotting symbolic functions and manifolds: passagemath-symbolics <https://pypi.org/project/passagemath-symbolics/>
_
FAQs
passagemath: Plotting and graphics with Matplotlib, Three.JS, etc.
We found that passagemath-plot demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.