File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
pyrasterframes/src/main/python/pyrasterframes Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -29,8 +29,6 @@ def tile_to_png(tile, fig_size=None):
2929 import io
3030 from matplotlib .backends .backend_agg import FigureCanvasAgg as FigureCanvas
3131 from matplotlib .figure import Figure
32- import matplotlib .colors as colors
33- from matplotlib import cm
3432
3533 # Set up matplotlib objects
3634 nominal_size = 2 # approx full size for a 256x256 tile
@@ -42,9 +40,8 @@ def tile_to_png(tile, fig_size=None):
4240 axis = fig .add_subplot (1 , 1 , 1 )
4341
4442 data = tile .cells
45- norm = colors .LogNorm (data .min (), data .max ())
4643
47- axis .imshow (data , norm = norm , cmap = cm . get_cmap ( "RdBu" ) )
44+ axis .imshow (data )
4845 axis .set_aspect ('equal' )
4946 axis .xaxis .set_ticks ([])
5047 axis .yaxis .set_ticks ([])
You can’t perform that action at this time.
0 commit comments