def _show_selection(self, text, bbox):
x, y, width, height = bbox<EOL>textw = self._font.measure(text)<EOL>canvas = self._canvas<EOL>canvas.configure(width=width, height=height)<EOL>canvas.coords(canvas.text, width - textw, height / <NUM_LIT:2> - <NUM_LIT:1>)<EOL>canvas.itemconfigure(canvas.text, text=text)<EOL>canvas.place(in_=self._calendar, x=x, y=y)<EOL>
Configure canvas for a new selection.