{"action":"created","issue":{"url":"https://api.github.com/repos/matplotlib/basemap/issues/177","labels_url":"https://api.github.com/repos/matplotlib/basemap/issues/177/labels{/name}","comments_url":"https://api.github.com/repos/matplotlib/basemap/issues/177/comments","events_url":"https://api.github.com/repos/matplotlib/basemap/issues/177/events","html_url":"https://github.com/matplotlib/basemap/issues/177","id":58321004,"number":177,"title":"PIL v.s Pillow","user":{"login":"HughP","id":40230,"avatar_url":"https://avatars.githubusercontent.com/u/40230?v=3","gravatar_id":"","url":"https://api.github.com/users/HughP","html_url":"https://github.com/HughP","followers_url":"https://api.github.com/users/HughP/followers","following_url":"https://api.github.com/users/HughP/following{/other_user}","gists_url":"https://api.github.com/users/HughP/gists{/gist_id}","starred_url":"https://api.github.com/users/HughP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HughP/subscriptions","organizations_url":"https://api.github.com/users/HughP/orgs","repos_url":"https://api.github.com/users/HughP/repos","events_url":"https://api.github.com/users/HughP/events{/privacy}","received_events_url":"https://api.github.com/users/HughP/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-20T08:07:41Z","updated_at":"2015-02-20T18:35:12Z","closed_at":null,"body":"It seems that PIL, the graphics library dependency is dead (or near dead) and modern development is on [Pillow](https://github.com/python-pillow/Pillow). I am new to the Python landscape. So I [asked over at homebrew](https://github.com/Homebrew/homebrew-python/issues/204) if there might be a brew for PIL but evidently not. I am just wondering if there is a way to force basemap to use Pillow instead of PIL. Several of the functions fail saying they need PIL, but others work."},"comment":{"url":"https://api.github.com/repos/matplotlib/basemap/issues/comments/75294252","html_url":"https://github.com/matplotlib/basemap/issues/177#issuecomment-75294252","issue_url":"https://api.github.com/repos/matplotlib/basemap/issues/177","id":75294252,"user":{"login":"HughP","id":40230,"avatar_url":"https://avatars.githubusercontent.com/u/40230?v=3","gravatar_id":"","url":"https://api.github.com/users/HughP","html_url":"https://github.com/HughP","followers_url":"https://api.github.com/users/HughP/followers","following_url":"https://api.github.com/users/HughP/following{/other_user}","gists_url":"https://api.github.com/users/HughP/gists{/gist_id}","starred_url":"https://api.github.com/users/HughP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HughP/subscriptions","organizations_url":"https://api.github.com/users/HughP/orgs","repos_url":"https://api.github.com/users/HughP/repos","events_url":"https://api.github.com/users/HughP/events{/privacy}","received_events_url":"https://api.github.com/users/HughP/received_events","type":"User","site_admin":false},"created_at":"2015-02-20T18:35:12Z","updated_at":"2015-02-20T18:35:12Z","body":"Which ones work (**or don't work**)? I have tried the robinson projection and plotting a dataset, [following this tutorial](http://introtopython.org/visualization_earthquakes.html)... I managed to produce a map with my data plotted, [my successful image is here](https://github.com/HughP/Lexical-Database-Archiving-Stats/blob/master/2015-Hawaii/Formulas/Language_Plot_RandC.png): ![Lexical Database Archiving](https://github.com/HughP/Lexical-Database-Archiving-Stats/blob/master/2015-Hawaii/Formulas/Language_Plot_RandC.png)\r\n\r\nI wanted to add some texture to my image so I thought I might try `map.bluemarble()` or `map.shadedrelief()` and in both cases I get a message saying that PIL was not installed, which is of course true, because I have brewed and am using Pillow 2.7.0. As you can see, I have gotten some image out of basemap, so I assume I am doing something correctly. Then [I consulted the documentation](http://matplotlib.org/basemap/users/installing.html) and saw that it said:\r\n>**Optional libraries**\r\n\r\n>PIL\r\n>Python Imaging Library (download), only needed for `bluemarble()`, `etopo()`, `shadedrelief()` and `warpimage()` instance methods.\r\n\r\nI hit two of four and the error message and thought I would ask.\r\n\r\n@jenshnielsen With regards to the documentation. I have noticed that the version number for basemap available via pip is 1.0.7 while the [documentation says 1.0.8](http://matplotlib.org/basemap/index.html). I am not sure what the version here in github is, but it seemed that most repos([like sourcefoge](http://sourceforge.net/projects/matplotlib/files/matplotlib-toolkits/)) were reporting 1.0.7 as the latest version . Is this normal that documentation is a step ahead of the software package?"}}