-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
The skeleton docs can be added to in the future with interactive CAD and plots.
I have some code that can be useful, this can be added to the markdown files
---
jupytext:
formats: md:myst
text_representation:
extension: .md
format_name: myst
format_version: 0.13
jupytext_version: 1.11.5
kernelspec:
display_name: Python 3
language: python
name: python3
---
# Oktavian Benchmark
We can add in html files as iframes like this
:::{raw} html
<iframe src="../../html_file_saved_with_jupyter_cadquery.html" width="100%" height="800px"></iframe>
:::
we can plot the data and get an interactive plot using plotly like this
```{code-cell}
import plotly.graph_objects as go
fig = go.Figure(
data=[
go.Scatter(x=[1,2,3], y=[2, 3.5, 5], name='plot 1'),
go.Scatter(x=[1,2,3], y=[2, 3, 3], name='plot 2'),
go.Scatter(x=[1,2,3], y=[2, 5, 3.6], name='plot 3'),
],
layout_title_text="plot showing stuff"
)
# could also write the html and then show the raw html
fig.show()
pshriwise
Metadata
Metadata
Assignees
Labels
No labels