
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
xyz-canvas
Advanced tools
XYZ_canvas provides the starting point to create Python code that allows defining and editing objects in 3D space, using only Matplotlib and just over 200 lines of library in canvas.py.
This library provides you with the 3D co-ordinates of points clicked on and moved to / over, so that you can create your own code to process the points created. You can reach down into the definitions made in canvas.py to manipulate what's created during use, e.g. delete all the points as shown in the customisation example.
The "demo_V1.1.0_minimal.py" program shows how simple it is to instantiate the canvas:
from xyz_canvas.canvas import xyz_canvas
#instantiating the canvas:
demo = xyz_canvas( xlim =[0,1], ylim =[0,1], zlim=[0,1],
xlabel="x", ylabel="y", zlabel="z"
)
# showing the plot
demo.plt.show()
# note that this is so minimal that all it does is display;
# the resulting points are not used here.
print("Demo finished ...")
If you want to do things with the points created, look in "demo_V1.1.0_with_customisation.py". Here you'll see examples of customising the colour scheme and reacting to mouse clicks and mouse moves.
Install with pip:
pip install xyz_canvas
Or simply download the canvas.py and demo.py files, and develop from there.
FAQs
Interactive canvas for editing 3D geometry, using matplotlib.pyplot
We found that xyz-canvas 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
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.