A user on SO reported the following problem:
https://stackoverflow.com/questions/61686111/how-to-fix-distorted-interactive-popup-of-ggplot-figure-in-leaflet-map/61696804#61696804
I tried to locate the problem. One solution might be to set the minimum width equal to the graph width inside popup.js (line 42):
layer.bindPopup(pop, { maxWidth: 2000, minWidth: wdth });
A user on SO reported the following problem:
https://stackoverflow.com/questions/61686111/how-to-fix-distorted-interactive-popup-of-ggplot-figure-in-leaflet-map/61696804#61696804
I tried to locate the problem. One solution might be to set the minimum width equal to the graph width inside popup.js (line 42):
layer.bindPopup(pop, { maxWidth: 2000, minWidth: wdth });