Skip to content

Commit

Permalink
refactor(viz): update imports
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Sep 20, 2021
1 parent b2f0a9f commit 4ca18e4
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 22 deletions.
4 changes: 2 additions & 2 deletions packages/viz/src/axis/linear.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { mergeDeepObj } from "@thi.ng/associative/merge-deep";
import { fit } from "@thi.ng/math/fit";
import { inRange } from "@thi.ng/math/interval";
import { roundTo } from "@thi.ng/math/prec";
import { range } from "@thi.ng/transducers/iter/range";
import { filter } from "@thi.ng/transducers/xform/filter";
import { filter } from "@thi.ng/transducers/filter";
import { range } from "@thi.ng/transducers/range";
import type { AxisSpec, Domain, InitialAxisSpec, Range, ScaleFn } from "../api";
import { axisDefaults } from "./common";

Expand Down
10 changes: 5 additions & 5 deletions packages/viz/src/axis/log.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ import type { FnN, FnU3 } from "@thi.ng/api";
import { mergeDeepObj } from "@thi.ng/associative/merge-deep";
import { inRange } from "@thi.ng/math/interval";
import { mix } from "@thi.ng/math/mix";
import { comp } from "@thi.ng/transducers/func/comp";
import { range } from "@thi.ng/transducers/iter/range";
import { range2d } from "@thi.ng/transducers/iter/range2d";
import { comp } from "@thi.ng/transducers/comp";
import { filter } from "@thi.ng/transducers/filter";
import { iterator } from "@thi.ng/transducers/iterator";
import { filter } from "@thi.ng/transducers/xform/filter";
import { map } from "@thi.ng/transducers/xform/map";
import { map } from "@thi.ng/transducers/map";
import { range } from "@thi.ng/transducers/range";
import { range2d } from "@thi.ng/transducers/range2d";
import type { AxisSpec, Domain, InitialAxisSpec, Range, ScaleFn } from "../api";
import { axisDefaults } from "./common";

Expand Down
8 changes: 4 additions & 4 deletions packages/viz/src/domain.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import type { Fn } from "@thi.ng/api";
import { ensureArray } from "@thi.ng/arrays/ensure-array";
import { mix } from "@thi.ng/math/mix";
import { max } from "@thi.ng/transducers/rfn/max";
import { min } from "@thi.ng/transducers/rfn/min";
import { minMax } from "@thi.ng/transducers/rfn/min-max";
import { map } from "@thi.ng/transducers/map";
import { max } from "@thi.ng/transducers/max";
import { min } from "@thi.ng/transducers/min";
import { minMax } from "@thi.ng/transducers/min-max";
import { transduce } from "@thi.ng/transducers/transduce";
import { map } from "@thi.ng/transducers/xform/map";
import type { DomainValueFn } from "./api";

export const uniformDomain = (src: Iterable<number>): DomainValueFn => {
Expand Down
6 changes: 3 additions & 3 deletions packages/viz/src/plot.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import type { Fn } from "@thi.ng/api";
import { eqDelta } from "@thi.ng/math/eqdelta";
import { comp } from "@thi.ng/transducers/func/comp";
import { comp } from "@thi.ng/transducers/comp";
import { iterator } from "@thi.ng/transducers/iterator";
import { filter } from "@thi.ng/transducers/xform/filter";
import { mapcat } from "@thi.ng/transducers/xform/mapcat";
import { filter } from "@thi.ng/transducers/filter";
import { mapcat } from "@thi.ng/transducers/mapcat";
import type { AxisSpec, VizSpec } from "./api";

const gridAxis = (
Expand Down
2 changes: 1 addition & 1 deletion packages/viz/src/plot/bar.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Fn3 } from "@thi.ng/api";
import { isFunction } from "@thi.ng/checks/is-function";
import { map } from "@thi.ng/transducers/xform/map";
import { map } from "@thi.ng/transducers/map";
import type { DomainValues, PlotFn } from "../api";
import { valueMapper } from "./utils";

Expand Down
2 changes: 1 addition & 1 deletion packages/viz/src/plot/candle.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Fn2, Fn4, NumOrString } from "@thi.ng/api";
import { isFunction } from "@thi.ng/checks/is-function";
import { map } from "@thi.ng/transducers/xform/map";
import { map } from "@thi.ng/transducers/map";
import type { DomainValues, PlotFn } from "../api";
import { valueMapper } from "./utils";

Expand Down
12 changes: 6 additions & 6 deletions packages/viz/src/plot/stacked-intervals.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import type { Fn, Fn2 } from "@thi.ng/api";
import { comp } from "@thi.ng/transducers/func/comp";
import { comp } from "@thi.ng/transducers/comp";
import { filter } from "@thi.ng/transducers/filter";
import { iterator } from "@thi.ng/transducers/iterator";
import { push } from "@thi.ng/transducers/rfn/push";
import { some } from "@thi.ng/transducers/rfn/some";
import { map } from "@thi.ng/transducers/map";
import { mapcatIndexed } from "@thi.ng/transducers/mapcat-indexed";
import { push } from "@thi.ng/transducers/push";
import { some } from "@thi.ng/transducers/some";
import { transduce } from "@thi.ng/transducers/transduce";
import { filter } from "@thi.ng/transducers/xform/filter";
import { map } from "@thi.ng/transducers/xform/map";
import { mapcatIndexed } from "@thi.ng/transducers/xform/mapcat-indexed";
import type { Domain, PlotFn } from "../api";
import { valueMapper } from "./utils";

Expand Down

0 comments on commit 4ca18e4

Please sign in to comment.