Plotly Example ============== This example demonstrates how to create plots in Fraunhofer coporate design using Plotly. In plotly graph objects first the figure needs to be generated and afterwards the function "fig.update_layout(template = fhgCD.get_plotly_template(style, color_cycle))" needs to be run. In plotly express the template needs to be specified when creating the plot with "px.scatter(df, template=fhgCD.get_plotly_template("scientific", "colorful"))". .. literalinclude:: ../../examples/plotly_examples.py .. image:: plotly_examples.png Plotly px .. image:: plotly_px_example.png