You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Any plots; be that via plot(), create_report(), or any other method renders fine in the notebook itself, but after converting to HTML via Quarto (utilizes Pandoc for this) the plots do not appear. I get a message stating "Report generated with DataPrep," but no display. I have discovered that saving the report to a file and then displaying it as an iframe does work, however.
Utilizing ydata-profiling (formerly Pandas Profiling) the plots display in the HTML with no problems and no need to display as an iframe. I'm not certain what the difference is between the two packages, perhaps the reports are rendered differently.
To Reproduce
Steps to reproduce the behavior:
Create a report or a plot with DataPrep.
Export the notebook to HTML via Pandoc or Quarto
Working:
fromdataprep.edaimportcreate_report# Full reportreport=create_report(
df,
title="ACLED regional dataset - SE Asia - Myanmar",
progress=False
)
report.save()
fromIPython.displayimportIFrameIFrame("report.html", width=1200, height=1300)
Not working:
fromdataprep.edaimportcreate_reportreport=create_report(df)
report# report.show()# report.show_browser()# None of the above options work
Expected behavior
Reports should display in HTML without having to specifically display them as an iframe
Screenshots
Desktop (please complete the following information):
OS: Windows 11
Browser: Chrome, Firefox
Platform: Jupyter Lab via PyCharm / DataSpell
Platform Version: 4.0.5
Python Version: 3.10.12
Dataprep Version: 0.4.5
The text was updated successfully, but these errors were encountered:
Describe the bug
Any plots; be that via
plot()
,create_report()
, or any other method renders fine in the notebook itself, but after converting to HTML via Quarto (utilizes Pandoc for this) the plots do not appear. I get a message stating "Report generated with DataPrep," but no display. I have discovered that saving the report to a file and then displaying it as an iframe does work, however.Utilizing ydata-profiling (formerly Pandas Profiling) the plots display in the HTML with no problems and no need to display as an iframe. I'm not certain what the difference is between the two packages, perhaps the reports are rendered differently.
To Reproduce
Steps to reproduce the behavior:
Working:
Not working:
Expected behavior
Reports should display in HTML without having to specifically display them as an iframe
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: