Skip to content
Merged
Changes from all commits
Commits
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
6 changes: 4 additions & 2 deletions spb/backends/plotly/plotly.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,8 +372,10 @@ def _create_colorbar(self, label, sc=False):
self._colorbar_counter += 1
return dict(
x=1 + self._cbs * k,
title=label,
titleside="right",
title=dict(
text=label,
side="right"
),
# scale down the color bar to make room for legend
len=(
self._cbsdf if (sc and (self.legend or (self.legend is None)))
Expand Down
Loading