# Hoverlabel rgba not setting transparency

**URL:** <https://community.plotly.com/t/hoverlabel-rgba-not-setting-transparency/56878>\
**Category:** 📊 Plotly Python\
**Created:** [September 22, 2021, 6:25pm UTC](https://community.plotly.com/t/hoverlabel-rgba-not-setting-transparency/56878 "2021-09-22T18:25:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![guimolnar](https://avatars.discourse-cdn.com/v4/letter/g/96bed5/32.png) [@guimolnar](https://community.plotly.com/u/guimolnar)\
**Post date:** [September 22, 2021, 6:25pm UTC](https://community.plotly.com/t/hoverlabel-rgba-not-setting-transparency/56878/1 "2021-09-22T18:25:37Z")

</div>

Hi.  
I’m plotting a px.choropleth\_mapbox figure and, as the documentation states, the `hoverlabel bgcolor` property may be set as an rgb/rgba, but the alpha parameter apparently only changes the amount of white in the color, but the label remains opaque and I can’t see the plot behind. I found an answer for R that adding `hovermode = 'x unified'` should work, but it doesn’t for python in jupyter notebook.

 ![image](https://us1.discourse-cdn.com/flex024/uploads/plot/original/3X/2/c/2c18a6c2c8eb9566da48428073e1e95128158a26.png)  
rgba set to 'rgba(255,0,0,1)

 ![image](https://us1.discourse-cdn.com/flex024/uploads/plot/original/3X/f/7/f776bc9e6e3a3cb62d282018cd2bc38bb587d7fd.png)  
rgba set to 'rgba(255,0,0,.2)
