Skip to content

Commit

Permalink
Remove zoomable option from imshow
Browse files Browse the repository at this point in the history
Ordinal scales do not support interval selections, remove zoomable
option from imshow.
  • Loading branch information
pnezis committed Oct 29, 2024
1 parent d64ebb3 commit d042d75
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/tucan.ex
Original file line number Diff line number Diff line change
Expand Up @@ -3401,8 +3401,7 @@ defmodule Tucan do
:width,
:height,
:title,
:tooltip,
:zoomable
:tooltip
],
imshow_opts
)
Expand Down Expand Up @@ -3518,7 +3517,6 @@ defmodule Tucan do
opts = NimbleOptions.validate!(opts, @imshow_schema)

Tucan.Image.show(data, opts)
|> Utils.maybe_zoomable(opts[:zoomable])
end

## Composite plots
Expand Down

0 comments on commit d042d75

Please sign in to comment.