rename node to dora-image-view

The repository, the Python package, the entrypoint and the manifest name all
now agree. `plot` was carried over from the upstream opencv-plot node and no
longer described anything here, so the module, the class and the environment
variables follow the node:

  dora_plot/         -> dora_image_view/
  dora_plot/plot.py  -> dora_image_view/view.py
  Plot               -> View
  PLOT_WIDTH/HEIGHT  -> VIEW_WIDTH/HEIGHT
  --plot-width/-height -> --view-width/-height

Breaking for anyone wiring `path: dora-plot` or setting PLOT_WIDTH; nothing is
tagged yet.
This commit is contained in:
2026-09-15 03:22:27 -03:00
parent 22bd1e9e89
commit 00dc4c7b71
12 changed files with 66 additions and 54 deletions
+3 -3
View File
@@ -1,5 +1,5 @@
[project]
name = "dora-plot"
name = "dora-image-view"
version = "0.1.0"
description = "Dora node that overlays bounding boxes and text on an image and displays it in an OpenCV window"
readme = "README.md"
@@ -21,7 +21,7 @@ dependencies = [
]
[project.scripts]
dora-plot = "dora_plot.main:main"
dora-image-view = "dora_image_view.main:main"
[dependency-groups]
dev = ["pytest >= 8.1", "ruff >= 0.9"]
@@ -31,7 +31,7 @@ requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["dora_plot"]
packages = ["dora_image_view"]
[tool.ruff.lint]
extend-select = ["D", "I", "N", "RET", "UP"]