Skip to content

Commit

Permalink
better test
Browse files Browse the repository at this point in the history
  • Loading branch information
Fil committed Nov 25, 2024
1 parent b58ce2a commit 22f82a7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
File renamed without changes
4 changes: 1 addition & 3 deletions test/plots/geo-tip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export async function geoTipXY() {
}

/** The geo mark with the tip option, and scaled x and y channels. */
export async function geoTipXYScaled() {
export async function geoTipScaled() {
const [, boroughs] = await getLondonBoroughs();
const access = await getLondonAccess();
return Plot.plot({
Expand All @@ -127,8 +127,6 @@ export async function geoTipXYScaled() {
Plot.geo(
access,
Plot.centroid({
x: (d) => getFirstPoint(boroughs.get(d.borough))[0],
y: (d) => getFirstPoint(boroughs.get(d.borough))[1],
fx: "year",
geometry: (d) => boroughs.get(d.borough),
fill: "access",
Expand Down

0 comments on commit 22f82a7

Please sign in to comment.