### Converting an image from Cartesian to Polar - Limb Darkening?

import numpy as np import cv2 from matplotlib import pyplot as plt img = cv2.imread('C:\\Users\\not my user name\\D...

### Making image white space transparent, overlay onto imshow()?

I have a plot of spatial data that I display with imshow(). I need to be able to overlay the crystal lattice that ...

### Can't get bar chart to plot in matplotlib?

Using this code, x = [420.0, 4353.0, 4373.0]; y = [269.0, 252.0, 283.0] plt.bar(x,y) plt.show() I get: Where ...

### How can I draw transparent lines where the color becomes stronger when they overlap??

When you draw a bunch of transparent lines in matplotlib like this, you get a nice effect; when they overlap they ar...

### Percentile Distribution Graph?

Does anyone have an idea how to change X axis scale and ticks to display a percentile distribution like the graph be...

### Creating a subplot below a plot with an inset graph in python?

I currently have the graph attached. I want a separate graph underneath this one showing the difference between the ...

### Matplotlib (pyplot) savefig outputs blank image?

I am trying to save plots I make using matplotlib; however, the images are saving blank. Here is my code: plt.subp...

### Matplotlib (pyplot) savefig outputs blank image?

I am trying to save plots I make using matplotlib; however, the images are saving blank. Here is my code: plt.subp...

### How do you change the size of figures drawn with matplotlib??

How do you change the size of figure drawn with matplotlib? ...

### change figure size and figure format in matplotlib?

I want to obtain fig1 exactly of 4 by 3 inch sized, and in tiff format correcting the program below: import matplo...

### Draw points connected by spiral on a sphere with Matplotlib?

I would like to draw a sphere with points on its surface using Matplotlib. These points shall be connected by a spir...

### 3D discrete heatmap in matplotlib?

I have a list of tuples in python containing 3-dimenstional data, where each tuple is in the form: (x, y, z, data_va...

### How to create a 3d Heatmap from a discrete data set in Python??

I have a large dataset of the form [(X1, Y1, Z1, VALUE1), (X2, Y2, Z2, VALUE2)...]. The geometry of the points is th...