diff options
author | Andinus <andinus@nand.sh> | 2021-10-10 19:32:47 +0530 |
---|---|---|
committer | Andinus <andinus@nand.sh> | 2021-10-10 19:32:47 +0530 |
commit | 484ae4f0ebc878542c9101823645e7b1f5c7da28 (patch) | |
tree | 16be46df7122b3e0c53ae054efdda76cf4b93338 /src/algorithms | |
parent | 764a46c060514008746ecc512155efafbd6c2f7e (diff) | |
download | dorado-484ae4f0ebc878542c9101823645e7b1f5c7da28.tar.gz |
line-drawing/DDA: Alert when plotly is not ready
Diffstat (limited to 'src/algorithms')
-rw-r--r-- | src/algorithms/line-drawing/DDA.svelte | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/algorithms/line-drawing/DDA.svelte b/src/algorithms/line-drawing/DDA.svelte index aa7ac08..bee2c16 100644 --- a/src/algorithms/line-drawing/DDA.svelte +++ b/src/algorithms/line-drawing/DDA.svelte @@ -119,13 +119,14 @@ </table> </details> + <h3>Graph</h3> {#if plotlyReady === false} + {alert("Cannot plot graph: Plotly is not ready. Try again.")} <p class="note"> Cannot plot graph: Plotly is not ready. </p> {/if} {/if} - <div id="algoChart"></div> <style> |