You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The example of how to plot a point at a lat, lon coordinate is a little misleading.
First, if (for example) the east side of the bounding box is all ocean, then the plotted ridges will be trimmed to be just the dry land (try rm = RidgeMap( (153.0, -26.6, 153.2, -26.4))
Thus the calculation of the mapping between the desired lat, lon and the Axes coordinates will be wrong. Even if the plotted ridges span all the bounding box, the surrounding border will introduce an error, I believe.
You can force the Axes to enclosed the entire bounding box by setting the Axes x and y limits
python version : 3.7.1 (default, Dec 10 2018, 22:54:23) [MSC v.1915 64 bit (AMD64)]
python environment : ac5-py37
pandas version : 0.23.4
current wkg dir: C:\Users\donrc\Documents\JupyterNotebooks\RidgeMapProjectNotebookProject\develop
Notebook name: 2019-05-23-dc-RidgeMapNotebook.ipynb
Notebook run at: 2019-05-28 17:37:29.093947 local time
Notebook run at: 2019-05-28 07:37:29.093947 UTC
Notebook run on: Windows-10-10.0.17134-SP0
The text was updated successfully, but these errors were encountered:
The example of how to plot a point at a lat, lon coordinate is a little misleading.
First, if (for example) the east side of the bounding box is all ocean, then the plotted ridges will be trimmed to be just the dry land (try rm = RidgeMap( (153.0, -26.6, 153.2, -26.4))
Thus the calculation of the mapping between the desired lat, lon and the Axes coordinates will be wrong. Even if the plotted ridges span all the bounding box, the surrounding border will introduce an error, I believe.
You can force the Axes to enclosed the entire bounding box by setting the Axes x and y limits
This sets the Axes x and y limits (and sadly removes the nice empty border).
Now the following code to plot a point will work (I may have the Latitude slightly wrong).
Environment is:
The text was updated successfully, but these errors were encountered: