Thanks @adamschroeder, automargin sort of works when I delete my margin= line (still slight cutoffs but much better). The bummer is that I’ve now got a bunch of blank space on the right side of the map and a much smaller map simply because now there’s enough space to orient all the Hovertext boxes to the right. I know they can “auto-adjust” to left or right since some of the ones further right (like Maine) will sometimes flip to a left side orientation.
If there was a way to programmatically control their orientation I wouldn’t mind creating a dictionary for all 50 states to control each one’s hover label box position… but I can’t seem to find any property anywhere to control the orientation.
Having the same issue on my bar chart hoverlabels:
