'Update the cached shadow pixmap.'

def __updatePixmap(self):

    rect_size = QSize(50, 50)
    left = top = right = bottom = self.radius_
    pixmap_size = QSize(((rect_size.width() + left) + right), ((rect_size.height() + top) + bottom))
    shadow_rect = QRect(QPoint(left, top), rect_size)
    pixmap = QPixmap(pixmap_size)
    pixmap.fill(QColor(0, 0, 0, 0))
    rect_fill_color = self.palette().color(QPalette.Window)
    pixmap = render_drop_shadow_frame(pixmap, QRectF(shadow_rect), shadow_color=self.color_, offset=QPointF(0, 0), radius=self.radius_, rect_fill_color=rect_fill_color)
    self.__shadowPixmap = pixmap
    self.update()
