diff --git a/src/bundles/nbody/index.ts b/src/bundles/nbody/index.ts index ca2b23c57..84029e126 100644 --- a/src/bundles/nbody/index.ts +++ b/src/bundles/nbody/index.ts @@ -71,4 +71,3 @@ export { createState, getBodies } from './State'; export { createBodyCenterTransformation, createCoMTransformation, createLambdaTransformation, createPinTransformation, createRotateTransformation, createTimedRotateTransformation } from './Transformation'; export { createUniverse } from './Universe'; export { addVectors, createVector, getX, getY, getZ, multiplyScalar, setX, setY, setZ, subVectors } from './Vector'; - diff --git a/src/bundles/plotly/functions.ts b/src/bundles/plotly/functions.ts index 130c4e097..88dedd0b8 100644 --- a/src/bundles/plotly/functions.ts +++ b/src/bundles/plotly/functions.ts @@ -325,9 +325,9 @@ export const draw_connected_2d = createPlotFunction( mode: 'lines' }, { - xaxis: { visible: false }, + xaxis: { visible: true }, yaxis: { - visible: false, + visible: true, scaleanchor: 'x' } }, diff --git a/src/tabs/Painter/index.tsx b/src/tabs/Painter/index.tsx index 7e243bd1e..553624816 100644 --- a/src/tabs/Painter/index.tsx +++ b/src/tabs/Painter/index.tsx @@ -60,7 +60,16 @@ class Painter extends React.Component { const divId = `plotDiv${id}`; return ( <> -
this.handleOpen(drawnPainter)}>Click here to open Modal
+
this.handleOpen(drawnPainter)} + style={{ + cursor: 'pointer', + padding: '5px 10px', + backgroundColor: '#474F5E', + border: '1px solid #aaa', + borderRadius: '4px', + display: 'inline-block' + }} + >Popout plot
{ diff --git a/src/tabs/Plotly/index.tsx b/src/tabs/Plotly/index.tsx index aa4fe0373..1aaeb0c49 100644 --- a/src/tabs/Plotly/index.tsx +++ b/src/tabs/Plotly/index.tsx @@ -60,7 +60,16 @@ class Plotly extends React.Component { height: '80vh', marginBottom: '5vh' }} key={divId}> -
this.handleOpen(drawnPlot)}>Click here to open Modal
+
this.handleOpen(drawnPlot)} + style={{ + cursor: 'pointer', + padding: '5px 10px', + backgroundColor: '#474F5E', + border: '1px solid #aaa', + borderRadius: '4px', + display: 'inline-block' + }} + >Popout plot
0; }, body: (debuggerContext: any) => , - label: 'Plotly Test Tab', + label: 'Plotly', iconName: 'scatter-plot' };