Skip to content

Commit

Permalink
fix rename plot_methods to PLOT_METHODS
Browse files Browse the repository at this point in the history
  • Loading branch information
juba committed Dec 9, 2023
1 parent 3f4c9fc commit 9f43e2a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions utils/get_plot_methods.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
#!/usr/bin/env node

import * as Plot from "@observablehq/plot"
import * as Plot from "@observablehq/plot";

let methods = Object.keys(Plot).map(d => '"' + d + '"').join(', ')
methods = `plot_methods = (${methods})`
let methods = Object.keys(Plot)
.map((d) => '"' + d + '"')
.join(", ");
methods = `PLOT_METHODS = (${methods})`;

process.stdin.write(methods)
process.stdin.write(methods);

0 comments on commit 9f43e2a

Please sign in to comment.