mplot3d_dragger
Allow dragging in matplotlib 3d plots.
Why this
It seems that dragging is not support by matplotlib when drawing and visualizing 3D plots interactively, though rotating and zooming are supported. This can be very inconvenient when you want to visualize and observe a small part of a 3D plot with large range, e.g., a large point cloud scene. Thus, if you also meet this problem like I do, have a try of this one.
Install
pip install mplot3d-dragger
Usage
import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D
# import Dragger3D
from mplot3d_dragger import Dragger3D
fig = plt.figure()
ax = Axes3D(fig)
# ... (your plotting) ...
# wrap your axes with Dragger3D
dr = Dragger3D(ax)
# or for real-time dragging
# dr = Dragger3D(ax, real_time=True)
# but this can be stuttering
# when you have a lot of objects in one figure
# show()
plt.show()
Press SPACE, drag 3D objects by moving your cursor on figure (do not press mouse key), and release SPACE.
To do list
- Drag alone z axis
Metadata
Release files for mplot3d-dragger 0.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mplot3d_dragger-0.0.0.tar.gz | 2.1 kB | Without provenance | Details for mplot3d_dragger-0.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mplot3d_dragger-0.0.0-py3-none-any.whl | Python 3 | none | any | Details for mplot3d_dragger-0.0.0-py3-none-any.whl |
Total release size: 5.4 kB
Release files / mplot3d_dragger-0.0.0.tar.gz
| Download URL | mplot3d_dragger-0.0.0.tar.gz |
|---|---|
| Size | 2.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6b6c4df5752461f8bcb56dc6fc5e014b6abc2ff45d171cf28bf73e9f5bcc0682
|
|
BLAKE2b-256 checksum How to use checksums |
f96ee27257144f1dad7785c728c68ec24e8549e26e4abf6cb249926c5ea4658c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8
|
Release files / mplot3d_dragger-0.0.0-py3-none-any.whl
| Download URL | mplot3d_dragger-0.0.0-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2797dbbd73d057c139c4496104f4a34631d4bbf693460a7b4045b8340817f910
|
|
BLAKE2b-256 checksum How to use checksums |
26f6002e5288f570e339519c8a3030c4f0ea1a1b1a97ba122c9f5616c08fa989
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8
|
Security for mplot3d-dragger 0.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.