using AbstractPlotting c = to_colormap(:viridis) # get colors of colormap image( # to plot colors, an image is best 0..10, # x range 0..1, # y range hcat(c, c), # reshape this to a matrix for the colors show_axis = false, # don't show axes scale_plot = false, # maintain aspect ratio, resolution = (1000, 200) )