Skip to content

Commit

Permalink
removed x,y for splom
Browse files Browse the repository at this point in the history
  • Loading branch information
dvmoritzschoefl committed Nov 4, 2024
1 parent c28e8df commit a31fe5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vis/scatter/useLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -330,8 +330,8 @@ export function useLayout({
}) as PlotlyTypes.LayoutAxis;

for (let i = 0; i < splom.dimensions.length; i++) {
axes[`xaxis${i > 0 ? i + 1 : ''}`] = axis('x');
axes[`yaxis${i > 0 ? i + 1 : ''}`] = axis('y');
axes[`xaxis${i > 0 ? i + 1 : ''}`] = axis();
axes[`yaxis${i > 0 ? i + 1 : ''}`] = axis();
}

const finalLayout: Partial<PlotlyTypes.Layout> = {
Expand Down

0 comments on commit a31fe5f

Please sign in to comment.