Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It now takes into account the side label visibility in the rotation of labels. Add better and more control to gridliner labels drawing * draw_labels accepts more than a boolean. * label positioning is better estimates thanks to side spines Clean gridliner Improve the rotation and visibility of gridline labels - the location of labels takes spines into account - lines and labels are redrawn when zooming - the rotation of labels is both more tunable and strict - added the inside parameter for drawing labels inside the the boundary Fix stickler Fix padding Fix the rotation of labels Possible values: True, False, None None: it depends on the projection. True: rotate along gridlines. False: horizontal. Another type of location for labels in addition to left, right, top and bottom: geo. By the way, add more control to the gridliner init by adding the xpadding and ypadding keywords. Add support for float values of rotate_labels Also expose xlabel_style, ylabel_style and labels_bbox_style as keyword argument to gridlines() and Gridliner(). Note that labels_bbox_style no longer override the bbox value if x/ylabel_style. Fix alignments Fix labels in classic mode Fix gridliner labels Add Label class Fix _get_loc_from_spine_intersection Fix case where gridline stop before map boundary Update of the baseline images Fix linter Fix gridliner Fix gridliner compat with old mpl Fix artist.update call Fix labels drawing Add more help for draw_labels fix linting Add myself to contributors Fix docstrings Fix linting
- Loading branch information