Basemap import error in PyCharm — KeyError: ‘PROJ_LIB’

For Windows 10 with Anaconda + Python 3.71 (and I’m sure other Python 3 versions and Windows 7/8), you can tell Basemap where Proj4’s “epsg” file is to succeed. I don’t have an “environment” or whatever because it’s too much work to figure out – so I didn’t have an anaconda\share\proj area (as far as … Read more

why does my colorbar have lines in it?

In case you create vector graphics, have you tried this (taken from http://matplotlib.org/api/pyplot_api.html?highlight=colorbar#matplotlib.pyplot.colorbar): “It is known that some vector graphics viewer (svg and pdf) renders white gaps between segments of the colorbar. This is due to bugs in the viewers not matplotlib. As a workaround the colorbar can be rendered with overlapping segments: cbar = … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)