Albatta. chuqurlik xaritasi matplotlib rang xaritasi sifatida `matplotlib.colors.LinearSegmentedColormap.from_list() ` funksiyasi bilan ko'rinishi mumkin. Quyidagi funksiya: ``python matplotlib import rang matplotlib.pyplot sifatida plt sifatida import matplotlib.pyplot def depth_to_colormap (chiroqlik, rang ro'yxati): cmap = colors.LinearSegmentedColormap.from_('depth_colormap', color) figlist, axe = plt.subplots) color = axe.imshowrandDepth, aspect="map", origin="auto="upper", cmap=cmap) cbar = fig.colormapbar(color, ax=axe) return `
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence