Skip to content
Advertisement

Tag: matplotlib

Alternatives to Mayavi (Python 3.X) Linux

I’ve been trying to install and use Mayavi using Python 3.5 for almost a week. Unfortunately, I am not able to use it properly. At first, I struggled to install it along Python 3.5 version. Now, that I finally made it, the code simply doesn’t show the plot. It opens and closes the window instantly, and I think it may

Interractive plots Ipython 5.0.0 in the terminal

I run Ipthon in the terminal, in linux (not a jupyter notebook). In Ipython 2.4.1, the following commands opens a pop up interactive Tk plot window: In Ipython 5.0.0, when I use the same code: nothing appears. How do I get my poping up interractive plot in Iptyhon 5.0.0? Answer From your output with ipython using TkAgg i.e. tk (python-tk)

why matplotlib is not operating?

I want to use matplotlib. I have installed it as: and in terminal I have: now I want to use it. so in pycharm terminal I have: What is the problem please? can you help me solve it? Thank you very much for your help. Answer You are in shell not in python executing environment.

Plot .tif GDAL raster using matplotlib Basemap

I have a bit of code from here that I am using for plotting a geotiff image (Landsat): But, it fails at ct.TransformPoints(xy_source.reshape(2, size).T)) and I’m not sure why. The error it gives me: TypeError: in method ‘CoordinateTransformation_TransformPoints’, argument 1 of type ‘OSRCoordinateTransformationShadow *’ Which I do not understand. Any OSR guru’s out there? Thanks for reading. EDIT 1 The

Advertisement