Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
b9f7bb9
dotmap typo
droumis Mar 24, 2025
b5439f8
add featuremap app
droumis Mar 24, 2025
a91cb75
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Mar 24, 2025
1140747
add panel datashader deps
droumis Mar 24, 2025
6ffa573
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Mar 24, 2025
151b80a
fix info tip wording on widgets
droumis Mar 24, 2025
27e1f26
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Mar 24, 2025
93ac812
address ruff complaints
droumis Mar 24, 2025
caecadc
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Mar 24, 2025
ef9b74a
ruff fixes
flying-sheep Mar 27, 2025
8f45f25
remove redundant types
flying-sheep Mar 27, 2025
c5eb530
Merge branch 'main' into featuremap
droumis Apr 23, 2025
9358677
rename FeatureMap to ManifoldMap
droumis Apr 23, 2025
5d41cb7
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Apr 23, 2025
f691154
fix precommit checks
droumis Apr 24, 2025
df22b38
fix precommit biomejs checks
droumis Apr 24, 2025
f87fe76
reverting biome config changes
droumis Apr 24, 2025
9e4a71c
fix biome precommits
droumis Apr 24, 2025
8244cca
ignore deprecation warnings
droumis Apr 24, 2025
062be95
ignore deprecation warnings attempt 2
droumis Apr 24, 2025
77a0ba9
do not treat warnings as errors
droumis Apr 24, 2025
805b941
add lasso select
droumis Apr 24, 2025
e707c6f
add tests
maximlt May 2, 2025
409ba59
fix linting
maximlt May 2, 2025
e59058e
use autocomplete input widget for color_by
maximlt May 7, 2025
7fd8b01
cell_type as a global var
maximlt May 7, 2025
79e5967
color by obs vs cols
maximlt May 9, 2025
6c752bc
add tests
maximlt May 9, 2025
e9a5c12
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] May 9, 2025
c6244e6
improve docstring
maximlt May 9, 2025
05b36da
customize the colormap
maximlt May 9, 2025
5b62ffc
add tests
maximlt May 9, 2025
48c4769
rename Genes as Variables
maximlt May 13, 2025
c43463e
integrate labeller operation
maximlt May 16, 2025
a98935b
add tests
maximlt May 16, 2025
f265b72
prevent double plotting by using the Parameter as ref, not the widget
maximlt May 16, 2025
bf91534
fix axes updates
maximlt May 21, 2025
e15d72b
rename to show_labels
maximlt May 21, 2025
6fec455
refactor internal color data message passing
maximlt May 21, 2025
552b371
update the tests
maximlt May 21, 2025
0cdd37b
add selector to get a better tooltip for datashaded categorical plots
maximlt May 22, 2025
3f1098d
Watch colormap
maximlt May 22, 2025
eee7843
display NaN category
maximlt May 22, 2025
ecc2cbb
cycle too short cat cmap
maximlt Jun 10, 2025
eca12b9
set holoviews pin
maximlt Jun 10, 2025
ef9d837
fix continuous colormap on init
maximlt Jun 13, 2025
f9a5689
resample_when for the continous case
maximlt Jun 13, 2025
1c3911e
Merge branch 'main' into featuremap
maximlt Jun 13, 2025
acab66f
support setting a var reference
maximlt Jun 13, 2025
f2b4fc4
keep the tools for continuous
maximlt Jun 20, 2025
c138b28
persistent select tools
maximlt Jun 20, 2025
e8ab232
simplify tests
maximlt Jun 20, 2025
31fd07d
Merge branch 'main' into featuremap
maximlt Jun 20, 2025
ddcd751
revert apply_when and bump holoviews
maximlt Jun 23, 2025
37aad73
add responsive and adaptive width height
droumis Jun 23, 2025
c85cadd
re-add tools for continuous
maximlt Jun 23, 2025
1dc477b
fix responsive related tests
maximlt Jun 23, 2025
b6f2abd
fix pipeline tests
maximlt Jun 23, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"tamasfe.even-better-toml",
"charliermarsh.ruff",
"biomejs.biome",
"ms-python.python",
],
"ms-python.python"
]
}
13 changes: 6 additions & 7 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,23 @@
{
"[json][jsonc][toml][python]": {
"editor.formatOnSave": true,
"editor.formatOnSave": true
},
"[json][jsonc]": {
"editor.defaultFormatter": "biomejs.biome",
"editor.defaultFormatter": "biomejs.biome"
},
"[toml]": {
"editor.defaultFormatter": "tamasfe.even-better-toml",
"editor.defaultFormatter": "tamasfe.even-better-toml"
},
"[python]": {
"editor.defaultFormatter": "charliermarsh.ruff",
"editor.codeActionsOnSave": {
"source.fixAll": "always",
"source.organizeImports": "always",
},
"source.organizeImports": "always"
}
},
"python.analysis.typeCheckingMode": "basic",
"python.testing.pytestArgs": ["--color=yes", "-vv"],
"python.testing.pytestEnabled": true,
// mirror settings from pyproject-fmt
"evenBetterToml.formatter.compactArrays": false,
"evenBetterToml.formatter.arrayAutoCollapse": false,
"evenBetterToml.formatter.arrayAutoCollapse": false
}
4 changes: 2 additions & 2 deletions biome.jsonc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"$schema": "https://biomejs.dev/schemas/2.0.0-beta.1/schema.json",
"overrides": [
{
"include": ["./.vscode/*.json", "**/*.jsonc"],
"includes": ["./.vscode/*.json", "**/*.jsonc"],
"json": {
"formatter": {
"trailingCommas": "all",
Expand Down
50 changes: 32 additions & 18 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,13 @@ classifiers = [
"Programming Language :: Python :: 3.13",
]
dynamic = [ "description", "version" ]
dependencies = [ "anndata", "holoviews", "numpy" ]
dependencies = [
"anndata",
"datashader",
"holoviews>=1.21.0rc0",
"numpy",
"panel",
]

[tool.hatch.metadata.hooks.docstring-description]
[tool.hatch.version]
Expand Down Expand Up @@ -43,16 +49,21 @@ extra-dependencies = [
[tool.ruff]
lint.select = [ "ALL" ]
lint.ignore = [
"B019", # functools.cache is fine to use
"C408", # dict(...) calls are good
"COM812", # Incompatible with formatter
"D203", # 0 instead of 1 blank lines before class docstring
"D213", # Multi-line docstring summary should start at the first instead of second line
"FIX002", # TODOs are fine
"ISC001", # Incompatible with formatter
"S603", # We don’t want to use `subprocess.run(shell=True)`
"S607", # We don’t run commands with untrusted input
"TD002", # No need to assign TODOs to some person
"B019", # functools.cache is fine to use
"C408", # dict(...) calls are good
"COM812", # Incompatible with formatter
"D203", # 0 instead of 1 blank lines before class docstring
"D213", # Multi-line docstring summary should start at the first instead of second line
"FIX002", # TODOs are fine
"ISC001", # Incompatible with formatter
"N", # pep8-naming
"PLR0124",
"PLR0913", # Too many arguments in function definition
"S603", # We don’t want to use `subprocess.run(shell=True)`
"S607", # We don’t run commands with untrusted input
"SLF",
"TD002", # No need to assign TODOs to some person
"TRY",
]
lint.per-file-ignores."**/*.ipynb" = [
"I002", # Missing `from __future__ import annotations` is fine
Expand All @@ -64,12 +75,13 @@ lint.per-file-ignores."src/hv_anndata/__main__.py" = [
"T201", # print is fine
]
lint.per-file-ignores."tests/*" = [
"D102", # Missing docstring in public method
"D103", # Missing docstring in public function
"D105", # Missing docstring in magic method
"INP001", # __init__.py
"RUF018", # assert with := is fine
"S101", # Use of assert
"D102", # Missing docstring in public method
"D103", # Missing docstring in public function
"D105", # Missing docstring in magic method
"INP001", # __init__.py
"PLR2004", # magic-value-comparison
"RUF018", # assert with := is fine
"S101", # Use of assert
]
lint.allowed-confusables = [ "×", "’" ]
lint.flake8-copyright.notice-rgx = "SPDX-License-Identifier: MPL-2\\.0"
Expand All @@ -80,7 +92,9 @@ lint.pylint.max-positional-args = 3

[tool.pytest.ini_options]
addopts = [ "--import-mode=importlib", "--strict-markers" ]
filterwarnings = [ "error" ]
# filterwarnings = [
# "error",
# ]

[tool.coverage.run]
source_pkgs = [ "hv_anndata", "tests" ]
Expand Down
9 changes: 8 additions & 1 deletion src/hv_anndata/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
from __future__ import annotations

from .interface import AnnDataInterface, register
from .manifoldmap import ManifoldMap, create_manifoldmap_plot
from .plotting import Dotmap

__all__ = ["AnnDataInterface", "Dotmap", "register"]
__all__ = [
"AnnDataInterface",
"Dotmap",
"ManifoldMap",
"create_manifoldmap_plot",
"register",
]
Loading