Skip to content

Commit

Permalink
3.0.0-next.10
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub Actions authored and bmschmidt committed May 15, 2024
1 parent c1c51e6 commit 51fe62c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "deepscatter",
"type": "module",
"version": "3.0.0-next.9",
"version": "3.0.0-next.10",
"description": "Fast, animated zoomable scatterplots scaling to billions of points",
"files": [
"dist"
Expand Down
12 changes: 6 additions & 6 deletions src/Deeptable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -273,13 +273,13 @@ export class Deeptable {
);
}

static from_quadfeather(url: string, plot: Scatterplot | null): Deeptable {
const options: Partial<DS.DeeptableCreateParams> = {};
if (plot.tileProxy) {
options['tileProxy'] = plot.tileProxy;
}
static from_quadfeather(
url: string,
plot: Scatterplot | null,
tileProxy: DS.TileProxy | undefined,
): Deeptable {
return new Deeptable({
tileProxy: plot.tileProxy ? plot.tileProxy : undefined,
tileProxy,
baseUrl: url,
rootKey: '0/0/0',
plot,
Expand Down
4 changes: 2 additions & 2 deletions src/scatterplot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ export class Scatterplot {
public _root?: Deeptable;
public elements?: Selection<SVGElement, unknown, Element, unknown>[];
public secondary_renderers: Record<string, Renderer> = {};
// public tileProxy?: DS.TileProxy;
public div?: Selection<BaseType | HTMLDivElement, number, BaseType, unknown>;
public bound: boolean;
// d3 : Object;
Expand Down Expand Up @@ -370,9 +369,10 @@ export class Scatterplot {
arrow_table,
arrow_buffer,
deeptable,
tileProxy,
}: DS.DataSpec): Promise<DS.Deeptable> {
if (source_url !== undefined) {
this._root = Deeptable.from_quadfeather(source_url, this);
this._root = Deeptable.from_quadfeather(source_url, this, tileProxy);
} else if (arrow_table !== undefined) {
this._root = Deeptable.fromArrowTable(arrow_table, this);
} else if (arrow_buffer !== undefined) {
Expand Down

0 comments on commit 51fe62c

Please sign in to comment.