A toggleable linear/log scale and axis with minor ticks for bqplot
Project description
bqplot-linlog
Note: this package is experimental and the API may change.
A toggleable linear/log scale and axis with minor ticks for bqplot, and with improved labels.
Features
- LinLogScale: A scale that can switch between linear and log modes without replacing scale objects
- LinLogAxis: An axis with minor tick support — log mode shows powers-of-10 labels with 10ⁿ notation and standard minor ticks; linear mode shows minor ticks subdividing major intervals
Installation
pip install bqplot-linlog
Usage
from bqplot import Figure, Lines
from bqplot_linlog import LinLogScale, LinLogAxis
scale_x = LinLogScale(mode='linear')
scale_y = LinLogScale(mode='log')
axis_x = LinLogAxis(scale=scale_x, side='bottom')
axis_y = LinLogAxis(scale=scale_y, side='left')
line = Lines(x=x, y=y, scales={'x': scale_x, 'y': scale_y})
figure = Figure(axes=[axis_x, axis_y], marks=[line])
# Toggle at any time:
scale_y.mode = 'linear'
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 bqplot_linlog-0.1.0.tar.gz.
File metadata
- Download URL: bqplot_linlog-0.1.0.tar.gz
- Upload date:
- Size: 616.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
51a8073d10ba01f4847f920cfcfd13b04bca0b85f472433792a6080321a0c68a
|
|
| MD5 |
9be301142d8bca48006dd8c1b452b12b
|
|
| BLAKE2b-256 |
28290124998087863220aa01bf5bfd6671c2df2372e747cae9a25c39b33be60c
|
Provenance
The following attestation bundles were made for bqplot_linlog-0.1.0.tar.gz:
Publisher:
ci.yml on glue-viz/bqplot-linlog
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bqplot_linlog-0.1.0.tar.gz -
Subject digest:
51a8073d10ba01f4847f920cfcfd13b04bca0b85f472433792a6080321a0c68a - Sigstore transparency entry: 1359146422
- Sigstore integration time:
-
Permalink:
glue-viz/bqplot-linlog@449a4539bbd02b08761081446b5197766b3c7fcd -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/glue-viz
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@449a4539bbd02b08761081446b5197766b3c7fcd -
Trigger Event:
release
-
Statement type:
File details
Details for the file bqplot_linlog-0.1.0-py3-none-any.whl.
File metadata
- Download URL: bqplot_linlog-0.1.0-py3-none-any.whl
- Upload date:
- Size: 731.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b7457131cb2a5b43ae8874f3a1aff53d0918a1afd66da5ec097e16a46aa12461
|
|
| MD5 |
a2a7a4c632168ca0ff21a119828dde1d
|
|
| BLAKE2b-256 |
288e2fbfd274c10f1c4559006a165a18e7c7ee1c826bbcc83d03d249ead89473
|
Provenance
The following attestation bundles were made for bqplot_linlog-0.1.0-py3-none-any.whl:
Publisher:
ci.yml on glue-viz/bqplot-linlog
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bqplot_linlog-0.1.0-py3-none-any.whl -
Subject digest:
b7457131cb2a5b43ae8874f3a1aff53d0918a1afd66da5ec097e16a46aa12461 - Sigstore transparency entry: 1359146439
- Sigstore integration time:
-
Permalink:
glue-viz/bqplot-linlog@449a4539bbd02b08761081446b5197766b3c7fcd -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/glue-viz
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@449a4539bbd02b08761081446b5197766b3c7fcd -
Trigger Event:
release
-
Statement type: