Skip to content

Commit 98c806f

Browse files
authored
Merge pull request #115 from Carifio24/init-border-color
Initialize border color
2 parents bf85be6 + 32fd058 commit 98c806f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

glue_plotly/viewers/scatter/layer_state_widget.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@
5757
</div>
5858
</template>
5959
<template v-else>
60+
<div>
61+
<v-subheader class="pl-0 slider-label">size scaling</v-subheader>
62+
<glue-throttled-slider wait="300" min="0.1" max="10" step="0.01" :value.sync="glue_state.size_scaling"
63+
hide-details />
64+
</div>
6065
<div>
6166
<v-subheader class="pl-0 slider-label">fill markers</v-subheader>
6267
<v-switch v-model="glue_state.fill" hide-details style="margin-top: 0" />
@@ -92,11 +97,6 @@
9297
</div>
9398
</v-menu>
9499
</div>
95-
<div>
96-
<v-subheader class="pl-0 slider-label">size scaling</v-subheader>
97-
<glue-throttled-slider wait="300" min="0.1" max="10" step="0.01" :value.sync="glue_state.size_scaling"
98-
hide-details />
99-
</div>
100100
</template>
101101
</template>
102102
<div class="text-subtitle-2 font-weight-bold" :style="glue_state.markers_visible ? {} : {marginTop: '6px'}">Line</div>

glue_plotly/viewers/scatter/state.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ class PlotlyScatterLayerState(ScatterLayerState):
55

66
border_visible = DDCProperty(False, docstring="Whether to show borders on the markers")
77
border_size = DDCProperty(1, docstring="The size of the marker borders")
8-
border_color = DDCProperty(docstring="The color of the marker borders")
8+
border_color = DDCProperty("#000000", docstring="The color of the marker borders")
99
border_color_match_layer = DDCProperty(False, docstring="If true, border color options are ignored, "
1010
"and the border matches the layer")

0 commit comments

Comments
 (0)