matplotlib-basemap Questions
5
Solved
It is unclear to me how to install Matplotlib's Basemap on Windows. Maybe the question is straightforward, I need some help.
I followed this tutorial. As far as I understand, first, GEOS and PROJ4...
Divulsion asked 8/10, 2015 at 15:37
4
Solved
I'm looking for a way to plot filled rectangles on a Basemap. I could easily draw the rectangle's edges using the drawgreatcircle method, but I cannot find a way to actually fill these rectangles (...
Simpkins asked 3/9, 2012 at 16:10
2
I have 2-d fields to plot in python using matplotlib basemap.
The values of the fields varies from 0 to more than 1000. Is it possible to create manual colormap with fixed gradations and colours? ...
Canaster asked 26/8, 2014 at 12:54
6
This should be simple, but when I look for it I just find web packages. I need something better than as oriented on This Blog. Maybe using .oms file or shapefiles. Some way to give bbox and get the...
Ecumenical asked 5/5, 2015 at 12:29
10
I tried to use Basemap package to plot a map by PyCharm, but I got something wrong with
from mpl_toolkits.basemap import Basemap`
And the Traceback as followed:
Traceback (most recent call last...
Titoism asked 12/9, 2018 at 12:24
18
Solved
I have troubles to import the basemap module of mpl_toolkits in python. Here is what I get when I run the test.py script from the module directory:
/usr/lib/python2.7/dist-packages/mpl_toolkits/ba...
Ruthenious asked 2/11, 2016 at 7:25
3
Solved
I am aware that the powerful package Basemap can be utilized to plot US map with state boundaries. I have adapted this example from Basemap GitHub repository to plot 48 states colored by their resp...
Cockeyed asked 28/9, 2016 at 8:44
1
Solved
I have the same problem as this post:
Declaring a var usable by another function using a import in a secondary script, but the answer does not work on my side.
For context: basemap and basemap-data...
Trickery asked 30/5, 2022 at 3:23
4
I'm trying to draw a network on a basemap overlay.
I have packages:
basemap=1.3.0=py36ha7665c8_0
matplotlib=3.3.1=0
matplotlib-base=3.3.1=py36hba9282a_0
networkx=2.5=py_0
When I run only the line...
Marijn asked 11/9, 2020 at 0:9
2
I am trying to run Basemap examples from here and I am facing an error 'AxesSubplot' object has no attribute 'get_axis_bgcolor'. When I try first example from the site I should receive contours bla...
Cappuccino asked 5/6, 2018 at 2:26
2
Solved
I have a map of Germany, and the coords of a few cities.
plot displays the dots properly. I would like to use scatter instead, in order to be able to color the markets with respect to an other vari...
Shum asked 23/1, 2015 at 10:6
6
Solved
I'm having trouble to get the basemap to work in Python in my Mac.
I keep receiving:
from mpl_toolkits.basemap import basemap
ImportError: No module named basemap
What I did:
brew install gda...
Fluffy asked 17/2, 2017 at 13:36
2
Solved
I've found that the Basemap (module for matplotlib and Python) binary installer for Windows cannot detect Python on the system when Python is installed as part of a stack install, like Anaconda or ...
Rabiah asked 7/8, 2013 at 17:25
2
I try to hatch only the regions where I have statistically significant results. How can I do this using Basemap and pcolormesh?
plt.figure(figsize=(12,12))
lons = iris_cube.coord('longitude').poi...
Tapis asked 15/1, 2017 at 18:41
3
Solved
How can I draw regular grid lines over a tiff image?
I want to draw regular square grids for each interval (say 100 by 100 pixels) over the image and save that with the drawings. I also need to ove...
Bellboy asked 4/12, 2013 at 6:19
5
Solved
If I have a triangular marker, is it possible to control its orientation? I have a series of facets, with their corresponding vertices, and I would like to plot a basemap of them. I know it is stra...
Tetanus asked 28/4, 2014 at 15:49
3
I am trying to create a 2D Contour Map in Python that looks like this:
In this case, it is a map of chemical concentration for a number of points on the map. But for the sake of simplicity, we c...
Hoenir asked 11/2, 2013 at 20:37
8
I have recently started using Python 3.5 and Anaconda on my Windows pc. I am trying to plot a map. However, When I am in my Jupyter notebook and i type the command
import mpl_toolkits.basemap
I g...
Explosive asked 24/1, 2016 at 18:6
3
from mpl_toolkits.basemap import Basemap
gives
ImportError: No module named 'mpl_toolkits.basemap'
I installed basemap with conda
wayne@dors:~$ conda install basemap
Solving environment: ...
Lodgings asked 22/1, 2018 at 18:39
1
in respect to the previous examples in stackoverflow, I searched for other alternatives in order to create a scalebar.
In my research, I verified that the Basemap class from mpl_toolkits.basemap se...
Grave asked 12/8, 2020 at 22:43
5
I have a netcdf file containing global sea-surface temperatures. Using matplotlib and Basemap, I've managed to make a map of this data, with the following code:
from netCDF4 import Dataset
import...
Corkwood asked 28/8, 2014 at 8:22
5
I'm trying to install and import the Basemap library into my Jupyter Notebook, but this returns the following error:
KeyError: 'PROJ_LIB'
After some research online, I understand I'm to install ...
Brownell asked 21/10, 2018 at 0:40
3
Solved
For my assignment I'm supposed to plot the tracks of 20 hurricanes on a map using matplotlib. However when I run my code I get the error: AssertionError:Grouper and axis must be the same length
He...
Soapberry asked 20/10, 2013 at 23:15
1
Solved
from sklearn.metrics import confusion_matrix
from sklearn.metrics import plot_confusion_matrix
print('*** Test Accuracy ***',forest.score(X_test,y_test))
disp = plot_confusion_matrix(forest, X_t...
Party asked 30/1, 2020 at 16:26
2
Solved
I have an uneven colormap and I want the 0 to be white. All negative colors have to be bluish and all positive colors have to be reddish.
My current attempt displays the 0 bluish and the 0.7 white....
Baguio asked 8/1, 2020 at 1:6
1 Next >
© 2022 - 2024 — McMap. All rights reserved.