Skip to content

Enable html file in sozi presentation ? #713

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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