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

Fix dataframe pane layout issues #4435

Merged
merged 4 commits into from
Feb 12, 2023
Merged

Fix dataframe pane layout issues #4435

merged 4 commits into from
Feb 12, 2023

Conversation

MarcSkovMadsen
Copy link
Collaborator

@MarcSkovMadsen MarcSkovMadsen commented Feb 11, 2023

Closes #4426

@codecov
Copy link

codecov bot commented Feb 11, 2023

Codecov Report

Merging #4435 (c47919e) into main (f9b84ce) will increase coverage by 0.12%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #4435      +/-   ##
==========================================
+ Coverage   81.65%   81.77%   +0.12%     
==========================================
  Files         238      238              
  Lines       34872    34872              
==========================================
+ Hits        28474    28518      +44     
+ Misses       6398     6354      -44     
Flag Coverage Δ
ui-tests 35.95% <100.00%> (+0.28%) ⬆️
unitexamples-tests 73.55% <100.00%> (ø)

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

Impacted Files Coverage Δ
panel/pane/markup.py 93.81% <100.00%> (ø)
panel/tests/conftest.py 89.74% <0.00%> (+1.28%) ⬆️
panel/tests/util.py 90.09% <0.00%> (+1.80%) ⬆️
panel/tests/ui/io/test_jupyter_server_extension.py 100.00% <0.00%> (+50.00%) ⬆️
panel/tests/ui/widgets/test_misc.py 97.43% <0.00%> (+64.10%) ⬆️

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

@MarcSkovMadsen
Copy link
Collaborator Author

The failing test is test_reload_on_update. I don't believe its related.

I don't plan to do more before feedback.

@MarcSkovMadsen MarcSkovMadsen added this to the v1.0.0 milestone Feb 11, 2023
@MarcSkovMadsen MarcSkovMadsen linked an issue Feb 11, 2023 that may be closed by this pull request
@MarcSkovMadsen MarcSkovMadsen marked this pull request as ready for review February 11, 2023 06:06
panel/pane/markup.py Outdated Show resolved Hide resolved
@@ -36,6 +36,11 @@ table.panel-df {
}

.panel-df tr:hover {
background: lightblue !important;
background: #e1f5fe !important;
Copy link
Collaborator Author

@MarcSkovMadsen MarcSkovMadsen Feb 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This color is prettier (my preference) and aligned with Jupyter

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was thinking about wheyher we should set max_rows and max_cols to some number to minimize the risk of crashing the notebook?

@philippjfr
Copy link
Member

Will merge for now. I'm doing a full review later anyway.

@philippjfr philippjfr merged commit d74496b into main Feb 12, 2023
@philippjfr philippjfr deleted the fix/dataframe-reference branch February 12, 2023 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pn.panel and pn.pane.DataFrame highly problematic
2 participants