Skip to content

Commit

Permalink
Also disable for image and raster elements
Browse files Browse the repository at this point in the history
  • Loading branch information
jonmmease committed Nov 26, 2020
1 parent a4e0ae2 commit 67fcb26
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions holoviews/plotting/plotly/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,9 @@
options.QuadMesh = Options('style', cmap=dflt_cmap)
options.HeatMap = Options('style', cmap='RdBu_r')

# RGB
# Disable padding in RGB elements to prevent datashader artifacts
# Disable padding for image-like elements
options.Image = Options("plot", padding=0)
options.Raster = Options("plot", padding=0)
options.RGB = Options("plot", padding=0)

# 3D
Expand Down

0 comments on commit 67fcb26

Please sign in to comment.