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

Factor out logic for inferring widget from abbreviation #3589

Merged
merged 3 commits into from
Jun 15, 2022

Conversation

philippjfr
Copy link
Member

Fixes #1826

@codecov
Copy link

codecov bot commented Jun 6, 2022

Codecov Report

Merging #3589 (6c98032) into master (aed60e9) will increase coverage by 0.48%.
The diff coverage is 83.21%.

❗ Current head 6c98032 differs from pull request most recent head 69579e0. Consider uploading reports for the commit 69579e0 to get more accurate results

@@            Coverage Diff             @@
##           master    #3589      +/-   ##
==========================================
+ Coverage   82.36%   82.84%   +0.48%     
==========================================
  Files         204      200       -4     
  Lines       27864    27521     -343     
==========================================
- Hits        22950    22801     -149     
+ Misses       4914     4720     -194     
Impacted Files Coverage Δ
panel/widgets/widget.py 82.67% <82.67%> (ø)
panel/interact.py 72.18% <85.71%> (-2.31%) ⬇️
panel/__init__.py 100.00% <100.00%> (ø)
panel/widgets/__init__.py 100.00% <100.00%> (ø)
panel/pane/plot.py 58.58% <0.00%> (-2.27%) ⬇️
panel/pane/image.py 80.09% <0.00%> (-1.68%) ⬇️
panel/layout/gridstack.py 52.54% <0.00%> (-1.56%) ⬇️
panel/tests/widgets/test_terminal.py 57.69% <0.00%> (-1.19%) ⬇️
panel/pane/idom.py 27.20% <0.00%> (-0.97%) ⬇️
panel/pane/equation.py 85.10% <0.00%> (-0.61%) ⬇️
... and 61 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update aed60e9...69579e0. Read the comment docs.

@jbednar
Copy link
Member

jbednar commented Jun 6, 2022

Cool! Would be nice to have one of the examples updated to use it.

@philippjfr
Copy link
Member Author

Merging, will figure out how best to document this utility subsequently.

@philippjfr philippjfr closed this Jun 15, 2022
@philippjfr philippjfr reopened this Jun 15, 2022
@philippjfr philippjfr merged commit 3fe1f21 into master Jun 15, 2022
@philippjfr philippjfr deleted the widget_function branch June 15, 2022 17:17
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.

pn.widgets() helper function
2 participants