Skip to content

Commit d291d3a

Browse files
committed
Clean up titles
1 parent 10a0867 commit d291d3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: packages/python/plotly/_plotly_utils/colors/_swatches.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def _swatches(module_names, module_contents):
2727
for name, colors in reversed(sequences)
2828
],
2929
layout=dict(
30-
title=module_names,
30+
title=module_names.split('.')[-1].capitalize() + ' colorscales',
3131
barmode="stack",
3232
barnorm="fraction",
3333
template=px.defaults.template,

0 commit comments

Comments
 (0)