Skip to content

Commit

Permalink
Remove some superfluous imports.
Browse files Browse the repository at this point in the history
  • Loading branch information
derpylz committed Jul 11, 2022
1 parent 9c807d5 commit 89a7d0e
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion dist/babyplots.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/babyplots.js.map

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions src/babyplots.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,26 +170,26 @@ export declare class Plots {
constructor(canvasElement: string, options?: {});
private _updateCameraUpVector;
fromJSON(plotData: {}): void;
createButtons(whichBtns?: string[]): void;
createButtons(whichBtns?: string[]): Plots;
private _prepDownloadObj;
private _downloadJson;
private _createPublishForm;
private _resizePublishOverlay;
private _tryPublish;
private _cancelPublish;
private _resetAnimation;
pauseAnimation(): void;
playAnimation(): void;
toggleTurntable(): void;
setAnimationFrame(): void;
pauseAnimation(): Plots;
playAnimation(): Plots;
toggleTurntable(): Plots;
setAnimationFrame(): Plots;
private _toggleLoopAnimation;
private _startRecording;
private _prepRender;
private _afterRender;
private _cameraFitPlot;
addImgStack(values: number[], indices: number[], attributes: {
dim: number[];
}, options: {}): this;
}, options: {}): Plots;
addPlot(coordinates: number[][], plotType: string, colorBy: string, colorVar: string[] | number[], options?: {}): Plots;
addMeshObject(meshString: string, options: {}): Plots;
addMeshStream(rootUrl: string, filePrefix: string, fileSuffix: string, fileIteratorStart: number, fileIteratorEnd: number, frameDelay: number, options: {}): Plots;
Expand All @@ -199,8 +199,8 @@ export declare class Plots {
private _createShapeLegend;
doRender(): Plots;
resize(width?: number, height?: number): Plots;
thumbnail(size: number, saveCallback: (data: string) => void): void;
thumbnail(size: number, saveCallback: (data: string) => void): Plots;
dispose(): void;
removePlot(index: number): Plots;
addLabels(labelList: [[number, number, number, string, string?, number?]]): void;
addLabels(labelList: [[number, number, number, string, string?, number?]]): Plots;
}
6 changes: 3 additions & 3 deletions src/utils/Label.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ import { PlaneBuilder } from "@babylonjs/core/Meshes/Builders/planeBuilder";
import { PointerDragBehavior } from "@babylonjs/core/Behaviors/Meshes/pointerDragBehavior";
import { AdvancedDynamicTexture } from "@babylonjs/gui/2D/advancedDynamicTexture";
import { Button, Rectangle, TextBlock } from "@babylonjs/gui/2D/controls";
import { LinesBuilder } from "@babylonjs/core/Meshes/Builders/linesBuilder";
import { LinesMesh } from "@babylonjs/core/Meshes/linesMesh";
import { CylinderBuilder } from "@babylonjs/core/Meshes/Builders/cylinderBuilder";
// import { LinesBuilder } from "@babylonjs/core/Meshes/Builders/linesBuilder";
// import { LinesMesh } from "@babylonjs/core/Meshes/linesMesh";
// import { CylinderBuilder } from "@babylonjs/core/Meshes/Builders/cylinderBuilder";
import { TransformNode } from "@babylonjs/core/Meshes/transformNode";
import chroma from "chroma-js";
import { Plot } from "./Plot";
Expand Down

0 comments on commit 89a7d0e

Please sign in to comment.