Skip to content

Commit

Permalink
fix(swarmplot): use the borderWidth property - fixes plouc#1813
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamintd committed Oct 27, 2021
1 parent 2757063 commit 9ab7330
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/swarmplot/src/SwarmPlot.tsx
Expand Up @@ -36,6 +36,7 @@ const InnerSwarmPlot = <RawDatum,>({
colors = defaultProps.colors as OrdinalColorScaleConfig<Omit<ComputedDatum<RawDatum>, 'color'>>,
colorBy = defaultProps.colorBy,
borderColor = defaultProps.borderColor as InheritedColorConfig<ComputedDatum<RawDatum>>,
borderWidth = defaultProps.borderWidth,
layout = defaultProps.layout,
spacing = defaultProps.spacing,
gap = defaultProps.gap,
Expand Down Expand Up @@ -141,7 +142,7 @@ const InnerSwarmPlot = <RawDatum,>({
<Circles<RawDatum>
key="circles"
nodes={nodes}
borderWidth={0}
borderWidth={borderWidth}
borderColor={borderColor}
isInteractive={isInteractive}
tooltip={tooltip}
Expand Down

0 comments on commit 9ab7330

Please sign in to comment.