Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement .embed using mimebundle rendering #4791

Merged
merged 2 commits into from
May 5, 2023
Merged

Implement .embed using mimebundle rendering #4791

merged 2 commits into from
May 5, 2023

Conversation

philippjfr
Copy link
Member

Instead of rendering .embed output by publishing it with IPython display functionality we use a wrapper object. This makes it possible for non-IPython based renderers (e.g. PyScript or our pyodide sphinx extension) be able to render the embed output.

@philippjfr philippjfr added this to the v1.0.0 milestone May 5, 2023
@codecov
Copy link

codecov bot commented May 5, 2023

Codecov Report

Merging #4791 (04c5ada) into main (f351189) will decrease coverage by 0.57%.
The diff coverage is 45.45%.

@@            Coverage Diff             @@
##             main    #4791      +/-   ##
==========================================
- Coverage   83.37%   82.81%   -0.57%     
==========================================
  Files         268      268              
  Lines       37899    37904       +5     
==========================================
- Hits        31599    31390     -209     
- Misses       6300     6514     +214     
Flag Coverage Δ
ui-tests 39.13% <45.45%> (-1.55%) ⬇️
unitexamples-tests 73.35% <45.45%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
panel/viewable.py 66.58% <0.00%> (+0.33%) ⬆️
panel/io/notebook.py 43.79% <50.00%> (+0.37%) ⬆️

... and 7 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@philippjfr philippjfr merged commit e8674f7 into main May 5, 2023
@philippjfr philippjfr deleted the render_embed branch May 5, 2023 23:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant