Incorrect coloring of columns using Tabulator's style.background_gradient after upgrading to version 1.3.1 #5822
Labels
component: tabulator
Related to the Tabulator widget
type: bug
Something isn't correct or isn't working
Milestone
ALL software version info
Python 3.10.13
Panel: 1.3.1
Pandas: 2.0.3
Bokeh: 3.3.0
Param: 2.0.0
MacOS 14.0
Description of expected behavior and the observed behavior
When using a Tabulator with the
style.background_gradient
method and thesubset
parameter, only the columns defined in the subset should be colored. However, currently with panel 1.3.1, all columns are being colored instead. The behavior was as expected when using panel version 1.3.0.Complete, minimal, self-contained example code that reproduces the issue
Stack traceback and/or browser JavaScript console output
Screenshots or screencasts of the bug in action
Panel 1.3.1
![image](https://private-user-images.githubusercontent.com/53038477/280709900-399a4cb5-5bee-4aa1-8bc0-08c7b3ec934b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3MjcyMDEsIm5iZiI6MTcyNDcyNjkwMSwicGF0aCI6Ii81MzAzODQ3Ny8yODA3MDk5MDAtMzk5YTRjYjUtNWJlZS00YWExLThiYzAtMDhjN2IzZWM5MzRiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI3VDAyNDgyMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWE3NmE0YTYxYzZjOGE2YzM3NjRhMTFiNDdiMzBhOTk2YTIxYjIxOWQyMDkyMjBkNjMyYTdkNTVjZmRhYjQ1NTImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.QP5WNQ7vEMYizlIgphGjQGLJeujTWg-ALTaFxhfzCx8)
Panel 1.3.0
![image](https://private-user-images.githubusercontent.com/53038477/280710035-c111bf94-258e-449c-aec5-bc62422e056b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3MjcyMDEsIm5iZiI6MTcyNDcyNjkwMSwicGF0aCI6Ii81MzAzODQ3Ny8yODA3MTAwMzUtYzExMWJmOTQtMjU4ZS00NDljLWFlYzUtYmM2MjQyMmUwNTZiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI3VDAyNDgyMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWVlMGJmNjgwNjRiODJlNWEzNWI5NWUzMjJlZWM4NDZmZWM2YTAxOTkyZDk0OTQ4MTU4NTdkYmU2ZGViYTQ2NWEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0._1PKDgnMd1HdVh2z5jGTrpbZuYT9XMxQMLYvpTh4vWQ)
The text was updated successfully, but these errors were encountered: