Closed rgbkrk closed 1 year ago
This introduces ipython / Jupyter representations for Python objects to allow easier viewing in a notebook.
For instance, running this code will display all the charts from lida.visualize
lida.visualize
i = 0 library = "seaborn" textgen_config = TextGenerationConfig(n=1, temperature=0.2, use_cache=True) charts = lida.visualize( summary=summary, goal=goals[i], textgen_config=textgen_config, library=library ) for chart in charts: display(chart)
and you can also just the chart be the execution result for the cell:
chart
library = "seaborn" textgen_config = TextGenerationConfig(n=1, temperature=0.2, use_cache=True) charts = lida.visualize( summary=summary, goal=goals[i], textgen_config=textgen_config, library=library ) charts[0]
Additionally, I did the same for goals:
Working on updating the notebook example as well once my machine has the infographics dependencies working well.
@microsoft-github-policy-service agree company="Noteable"
This introduces ipython / Jupyter representations for Python objects to allow easier viewing in a notebook.
For instance, running this code will display all the charts from
lida.visualize
and you can also just the
chart
be the execution result for the cell:Additionally, I did the same for goals:
Working on updating the notebook example as well once my machine has the infographics dependencies working well.