Skip to content Skip to sidebar Skip to footer

Saving Heatmap Using Pylab

I am using ubuntu 14.04 server and I capturing some depth data from my infrared camera. depth = get_depth() print np.shape(depth) The output is (480, 640). Basically it contains

Solution 1:

Matplotlib defaults to an x-using backend, but you can set a noninteractive backend by modifying rcParams:

import matplotlib
matplotlib.rcParams['backend'] = "Agg"

Post a Comment for "Saving Heatmap Using Pylab"