Skip to content

Commit

Permalink
Remove degree column number from aggregate rows
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeWags committed Feb 20, 2024
1 parent f5f60f0 commit d50f429
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/upset/src/components/AggregateRow.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { css } from '@emotion/react';
import { Aggregate, getDegreeFromSetMembership } from '@visdesignlab/upset2-core';
import { Aggregate } from '@visdesignlab/upset2-core';
import { FC, useContext } from 'react';
import { useRecoilValue, useSetRecoilState } from 'recoil';
import KeyboardArrowDownIcon from '@mui/icons-material/KeyboardArrowDown';
Expand All @@ -17,7 +17,6 @@ import { BookmarkStar } from './custom/BookmarkStar';
import { collapsedSelector } from '../atoms/collapsedAtom';
import { ProvenanceContext } from './Root';
import { AttributeBars } from './AttributeBars';
import { Degree } from './Degree';

/** @jsxImportSource @emotion/react */
type Props = {
Expand Down Expand Up @@ -120,7 +119,6 @@ export const AggregateRow: FC<Props> = ({ aggregateRow }) => {
<g transform={translate(0, (['Sets', 'Overlaps'].includes(aggregateRow.aggregateBy)) ? dimensions.body.rowHeight - 5 : 0)}>
{ bookmarkedIntersections.find((b) => b.id === aggregateRow.id) &&
<BookmarkStar row={aggregateRow} />}
<Degree degree={getDegreeFromSetMembership(aggregateRow.setMembership)} />
<SizeBar row={aggregateRow} size={aggregateRow.size} />
<DeviationBar deviation={aggregateRow.deviation} />
<AttributeBars attributes={aggregateRow.attributes} row={aggregateRow} />
Expand Down

0 comments on commit d50f429

Please sign in to comment.