PalEON-Project / Shiny

Code for R Shiny App which will allow us to share the stats composition maps.
0 stars 1 forks source link

deal with white space when zooming #13

Open paciorek opened 9 years ago

paciorek commented 9 years ago

Zooming works somewhat well but in some cases the margins of the plots overlap when zooming in with 2 taxa. Basically it's a pain to get the white space in the 2-taxa plots to be reasonable. I monkeyed with it for the non-zoomed case by setting plot.margin in theme(), but for the zoomed case, sometimes the monkeying causes issues.

plot.margin seems like a kludge so maybe there is a better/more formal way to avoid the excess white space in the 2-taxa unzoomed plots that occurs if one doesn't use plot.margin.