We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e856cc3 + 824c308 commit b7fffb0Copy full SHA for b7fffb0
src/ggplot/Internal/layers/layer3/ggplotScatter3d.vb
@@ -122,12 +122,9 @@ Namespace layers.layer3d
122
Dim nsize As Integer = x.Length
123
Dim colorList As Func(Of Integer, String)
124
Dim shape = If(Me.shape, LegendStyles.Circle)
125
-
126
- If value.IsNullOrEmpty Then
127
- value = 0.0.Replicate(x.Length).ToArray
128
- End If
129
130
- Dim size As Single() = Me.size.getSizeValues(value).ToArray
+ Dim size As Single() = Me.size _
+ .getSizeValues(If(value.IsNullOrEmpty, 1.0.Replicate(n:=x.Length).ToArray, value)) _
+ .ToArray
131
132
If colors.IsNullOrEmpty Then
133
' default black
0 commit comments