From 17cca384290a98b28c4f4a4d6bc4cf5edaef4573 Mon Sep 17 00:00:00 2001 From: srichman333 Date: Tue, 16 Apr 2024 17:43:06 -0400 Subject: visualize button --- src/client/views/nodes/DataVizBox/DataVizBox.tsx | 5 ----- src/client/views/pdf/GPTPopup/GPTPopup.tsx | 6 ++++++ 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/client/views/nodes/DataVizBox/DataVizBox.tsx b/src/client/views/nodes/DataVizBox/DataVizBox.tsx index 19fde7273..dbba9c7f3 100644 --- a/src/client/views/nodes/DataVizBox/DataVizBox.tsx +++ b/src/client/views/nodes/DataVizBox/DataVizBox.tsx @@ -439,12 +439,7 @@ export class DataVizBox extends ViewBoxAnnotatableComponent() im this._props.addDocument?.(embedding); embedding._dataViz_axes = new List(axes) this.layoutDoc.dataViz_selectedRows = new List(this.records.map((rec, i) => i)) - - console.log(embedding.x); - console.log(Number(embedding.x)); - console.log(Number(embedding.x) + 100.0) embedding.x = Number(embedding.x) + 100.0; - console.log(embedding.x); return true; }; diff --git a/src/client/views/pdf/GPTPopup/GPTPopup.tsx b/src/client/views/pdf/GPTPopup/GPTPopup.tsx index 706b44aef..686ef9c28 100644 --- a/src/client/views/pdf/GPTPopup/GPTPopup.tsx +++ b/src/client/views/pdf/GPTPopup/GPTPopup.tsx @@ -201,7 +201,12 @@ export class GPTPopup extends ObservableReactComponent { link_relationship: 'GPT Summary', }); } + }; + /** + * Creates a histogram to show the correlation relationship that was found + */ + private createVisualization = () => { this.createFilteredDoc(this.correlatedColumns); }; @@ -373,6 +378,7 @@ export class GPTPopup extends ObservableReactComponent { :( <>