python-package/lets_plot/plot/sandbox_.py (1 lines of code) (raw):

# # Copyright (c) 2019. JetBrains s.r.o. # Use of this source code is governed by the MIT license that can be found in the LICENSE file. # # import numpy as np # # from lets_plot.geom_imshow_ import geom_imshow # # print("1") # img = np.array([ # [[0, 0, 0, 128], [255, 255, 255, 128]] # ]) # # print(img) # # print(geom_imshow(image_data=img)) # geom_imshow(image_data=img) # # print("2") # img = np.array([ # [[0., 0., 0., .5], [1., 1., 1., .5]] # ]) # # print(img) # geom_imshow(image_data=img) # # print(geom_imshow(image_data=img))