Skip to content

Commit

Permalink
fix dot position on dm plots
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolasibalic committed Dec 31, 2023
1 parent 93d85e3 commit 8fab482
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ifigures/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.2.3"
__version__ = "0.2.4"

from .interact import InteractiveFigure
from .widgets import RadioWidget, RangeWidget, RangeWidgetViridis, DropDownWidget
Expand Down
4 changes: 2 additions & 2 deletions ifigures/amoplots.py
Original file line number Diff line number Diff line change
Expand Up @@ -796,8 +796,8 @@ def plot (self, axis:plt.axis, rho, visualise="with dots"):
R[row,col]=getComplexColor(rho[row][col], 1.)[0]
G[row,col]=getComplexColor(rho[row][col], 1.)[1]
B[row,col]=getComplexColor(rho[row][col], 1.)[2]
dots["x"].append(row + rho[row][col].real * 0.44)
dots["y"].append(col + rho[row][col].imag * 0.44)
dots["x"].append(col + rho[row][col].real * 0.44)
dots["y"].append(row - rho[row][col].imag * 0.44)
referenceDots["x"].append(col)
referenceDots["y"].append(row)

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "interactive-publishing"
version = "0.2.3"
version = "0.2.4"
description = "Templates and tools for creating interactive figures and interactive text for publishing in EPUB3/HTML5."
authors = ["Nikola Sibalic <[email protected]>"]
license = "BSD-3-Clause license"
Expand Down

0 comments on commit 8fab482

Please sign in to comment.