Skip to content

Enable html file in sozi presentation ? #713

@chauvetige

Description

@chauvetige

Hello

First of all thanks for the great piece of software. I like it a lot.

I couldn't find this option but I would love it : Is it possible to enable html file in the presentation. May be it could be done the same way as for audio/video through the inskcape add on.

The idea is to be able to include any html file like the one produce by python plot using plotly for instance.

The figure could be generated via

import numpy as np
import plotly.graph_objects as go

# Generate x values
x = np.linspace(0, 10, 100)
y = np.sin(x)

# Create the figure
fig = go.Figure()

# Add the sine wave
fig.add_trace(go.Scatter(x=x, y=y, mode='lines', name='Sine Wave'))

# Customize layout
fig.update_layout(
    title="Sine Wave using Plotly",
    xaxis_title="x",
    yaxis_title="sin(x)",
    template="plotly_dark"
)

fig.write_html("sine_wave.html")

Will it be possible to do such thing ?
Best
Thomas

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions