From ecbbafacf6f78f8c6a2b7357610c9bc6097e5490 Mon Sep 17 00:00:00 2001 From: Jonas Kittner Date: Mon, 4 Nov 2024 10:36:18 +0100 Subject: [PATCH] update matplotlib colormaps --- .../client/app/src/colormap/colormaps.ts | 25 ++++++++++++++++++ terracotta/cmaps/data/brbg_r_rgba.npy | Bin 1148 -> 1148 bytes terracotta/cmaps/data/gist_grey_rgba.npy | Bin 0 -> 1148 bytes terracotta/cmaps/data/gist_yerg_rgba.npy | Bin 0 -> 1148 bytes terracotta/cmaps/data/grays_rgba.npy | Bin 0 -> 1148 bytes terracotta/cmaps/data/grey_rgba.npy | Bin 0 -> 1148 bytes terracotta/cmaps/data/piyg_r_rgba.npy | Bin 1148 -> 1148 bytes terracotta/cmaps/data/prgn_r_rgba.npy | Bin 1148 -> 1148 bytes terracotta/cmaps/data/rdbu_r_rgba.npy | Bin 1148 -> 1148 bytes terracotta/cmaps/data/rdgy_r_rgba.npy | Bin 1148 -> 1148 bytes terracotta/cmaps/data/rdylbu_r_rgba.npy | Bin 1148 -> 1148 bytes terracotta/cmaps/data/rdylgn_r_rgba.npy | Bin 1148 -> 1148 bytes terracotta/cmaps/data/spectral_r_rgba.npy | Bin 1148 -> 1148 bytes terracotta/cmaps/data/turbo_r_rgba.npy | Bin 0 -> 1148 bytes terracotta/cmaps/data/turbo_rgba.npy | Bin 0 -> 1148 bytes 15 files changed, 25 insertions(+) create mode 100644 terracotta/cmaps/data/gist_grey_rgba.npy create mode 100644 terracotta/cmaps/data/gist_yerg_rgba.npy create mode 100644 terracotta/cmaps/data/grays_rgba.npy create mode 100644 terracotta/cmaps/data/grey_rgba.npy create mode 100644 terracotta/cmaps/data/turbo_r_rgba.npy create mode 100644 terracotta/cmaps/data/turbo_rgba.npy diff --git a/terracotta/client/app/src/colormap/colormaps.ts b/terracotta/client/app/src/colormap/colormaps.ts index c721ec03..f9920fe2 100644 --- a/terracotta/client/app/src/colormap/colormaps.ts +++ b/terracotta/client/app/src/colormap/colormaps.ts @@ -5,6 +5,16 @@ export interface Colormap { } const COLORMAPS: Colormap[] = [ + { + displayName: 'Grays', + id: 'grays', + img_url: 'https://terracotta-python.readthedocs.io/en/latest/_images/cmap-grays-bar.png' + }, + { + displayName: 'Grey', + id: 'grey', + img_url: 'https://terracotta-python.readthedocs.io/en/latest/_images/cmap-grey-bar.png' + }, { displayName: 'Greys', id: 'greys', @@ -395,11 +405,21 @@ const COLORMAPS: Colormap[] = [ id: 'gist_gray', img_url: 'https://terracotta-python.readthedocs.io/en/latest/_images/cmap-gist_gray-bar.png' }, + { + displayName: 'Gist_grey', + id: 'gist_grey', + img_url: 'https://terracotta-python.readthedocs.io/en/latest/_images/cmap-gist_grey-bar.png' + }, { displayName: 'Gist_yarg', id: 'gist_yarg', img_url: 'https://terracotta-python.readthedocs.io/en/latest/_images/cmap-gist_yarg-bar.png' }, + { + displayName: 'Gist_yerg', + id: 'gist_yerg', + img_url: 'https://terracotta-python.readthedocs.io/en/latest/_images/cmap-gist_yerg-bar.png' + }, { displayName: 'Hsv', id: 'hsv', @@ -410,6 +430,11 @@ const COLORMAPS: Colormap[] = [ id: 'jet', img_url: 'https://terracotta-python.readthedocs.io/en/latest/_images/cmap-jet-bar.png' }, + { + displayName: 'Turbo', + id: 'turbo', + img_url: 'https://terracotta-python.readthedocs.io/en/latest/_images/cmap-turbo-bar.png' + }, { displayName: 'Nipy_spectral', id: 'nipy_spectral', diff --git a/terracotta/cmaps/data/brbg_r_rgba.npy b/terracotta/cmaps/data/brbg_r_rgba.npy index a5772e2a3737e03ca953f18bb8dcb56a6073c11d..9ea3e1c0f52eb25cb95b69ae7f0a69e26583ee1c 100644 GIT binary patch delta 26 icmeyv@rPrB44;*Z{uLSO zhyp{yBg6edd_%(n#D8~Nzu*Y*>>d&17bc$V1}1CQ8tRz-W2h6S^FJdeAt8aJq$G3Z z%wg`_xkyP#AuTP9jEoGjva-yZH;?)A=OZU4hrGNz3l=OuK|ujUMMad9lu%YyMny#h zRaI5g)YMqG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*xJNKQ^BDJhA>#6%Jj5;%73 z7)OsD<;amE#K*@I7Z*otY%GTlALh`ZLmWJKkeHYlqNAgUii$!il_HTyh>VORA|itD z@NmMy!UzowB_t$-;NW0_f`T}3-~fSvfdm8uAQp@9_xH!o&yW54_ahRC@b&e@$H#|# z`}VPS?_RvUz1g#84_;ngczSxWd-rZUJUnoBcgM}mja|ET;p*zj&Ye4PadBbCjvY8V zJLBZ!grlP)+qZAW!NCE0dwaHR+lHN;9k#Z%Y~8vQ8yg$8Y}tafwKbbJZ^p{XicOm~ zv2o)@Hf-2{rKKh7)~&gp_Ax|AhL zmY}Al#^S|`QB_q%MMZ^0ix#1*tc;S95(^hDL{U+Z1q&9SprF9~`SY1KZyxgU^2o`_ F@h?mI$ff`Q literal 0 HcmV?d00001 diff --git a/terracotta/cmaps/data/grey_rgba.npy b/terracotta/cmaps/data/grey_rgba.npy new file mode 100644 index 0000000000000000000000000000000000000000..2aed54a126af1cbc7db55debf39212a850b2dfc4 GIT binary patch literal 1148 zcmbWx`7hTG0LO94QRMD+F6QG~CSU0omQ2LtT8^xc@sXC0tD0lU%2m0Rqr*8WMahVS zj_E|vqDwl~AxSj1dVcl(6TYwQ@x$x&(<|G_-O4;*Z{uLSO zhyp{yBg6edd_%(n#D8~Nzu*Y*>>d&17bc$V1}1CQ8tRz-W2h6S^FJdeAt8aJq$G3Z z%wg`_xkyP#AuTP9jEoGjva-yZH;?)A=OZU4hrGNz3l=OuK|ujUMMad9lu%YyMny#h zRaI5g)YMqGa3PBpEn@NF#VlE}gr!TDvTWHhmM>q9y1F_V8X9P7YNDm3g|@afv%du^ zR;)l*R~J1!J%PTyJ|d9_0|NuW%9SfwwQ3cHhK2$oBO_L?UX8J_vB1Q{gf(l{U}|bA zShsE+>({Sm!-fq4Gcz;H&CRi}un=tAxDiWBOEzuVgq4+*z}niH&6_u4V`GD@tu0%& zY{AaX4tslhfrEnsTeoh-(a{knCnubpopEt-!PV7Oux;Bm+}zx7cX!9b!vjxGPquI0 zj+d90V8@Of?A*B%Z*OmWe0=cr^<~$tUHJL=3H<&22?z*4EEW?O7|8D3y9o*kV$YsE zg1vk95*!@NzJ2=$2?-%IG?cKgF!t}?FNlbUATlzNsHiBSqoX-+-~a~?9^}xWLxPx? z7-C~%iHnOPK0cnqhYypGkid~6M@URe6dXNzlw-$^k(87~a&j^$DJi6;rjnMH#_{9F zIdS3yCr_RvJw2U_j0`d}Gs()zB0D=t7<>j0|f1V2$E^zVUMJg&PxOC|fmoHzY zva*t@sw%Erxx&?}SE;V9=GwJu)YQ}nYHMq$tE=Ps_3PBv*VE9@z>OO>Xl!ic=FOWl zH8s)P+)PVL3%73F;`Z&^+_`gyyLayjT3cJWckdqe@89Rag9ki(_>f1B9`X3`W7^u< zXm4+)qoac-PoD7f=~Fs8JL&4`;@Pujg6Gel)7{-oPfrgoUcBJt%a^=*^@`W8U-Rb8 z8+v1V-kiSMoPcW_-y6075+nX8-^I delta 16 Ycmeyv@rPr>1V-j1SMoMbW_-y6075SZWdHyG diff --git a/terracotta/cmaps/data/prgn_r_rgba.npy b/terracotta/cmaps/data/prgn_r_rgba.npy index e344526aa964e7999d4d1993795642f2370b8ca0..b60c6bb9b488e76a607249b94401b815acf35e8f 100644 GIT binary patch delta 113 zcmV-%0FM9s2>b}JkpTkCi<6T9Azi22q5rAeqyMYjrT?wnr~j|sssFLxtN*j$t^c** zum88=vH!W^v;Vu}wg0{3xBtK8x&OiDyZ^)Hz5m7MzyHVR!T-tW!~e_b#sAIg$N$gk T$^X&p%m35u&HvT25dv!h7}-@K delta 113 zcmV-%0FM9s2>b}JkpTkBij$K8Azh~1p#P}cqW`Pir2nklrvI+qsQ<9vs{ga#tpBv( zuK%{;u>ZN@v;Vu}wEw*1w*S86xc|WBy8pxGy#K`KzW>JP!T-tW!~e_b#Q)6e#{bXj T$^X#o%Ky{t%>UH05dv!h5S~>2 diff --git a/terracotta/cmaps/data/rdbu_r_rgba.npy b/terracotta/cmaps/data/rdbu_r_rgba.npy index 0d4c91e36be0e83e59b26417129e4c8ca9327551..ca6ec42dfa375e6c14f7a0692c19af45a7b309c7 100644 GIT binary patch delta 34 qcmeyv@rPpr3nQcUWL8FfM(fF@jIoSYCr@T{WL|#$$>!^fOPK(^4-4S{ delta 34 qcmeyv@rPpr3nQb}WL8FfMytuDjIoSYCQoK`WL|du@#gD{OPK(@#S7d3 diff --git a/terracotta/cmaps/data/rdgy_r_rgba.npy b/terracotta/cmaps/data/rdgy_r_rgba.npy index ae544674450773c6c56d76b68602c8afac38b5ce..6b56daa00dc5aba80d2b856a6f2badc9a071465f 100644 GIT binary patch delta 146 zcmV~$VFrXi0Dw`uzdBFSCK<^{+Ag&>*!_`_B*{odrc9(G>`C?#@$Gw;cX{vi;rl*8 z5DpJ?rXBY;? kaYSp)G)>I&j4_5~S+Lf!Z5z%x_I>9#4$kv*?)JU^0pV{}SpWb4 delta 146 zcmV~$VFrXi0Dw`uzq-zl*)*g?CUdH8uuG&QQj(F3O1i?HWG@llzIS`K_jWHK1itSh zr6dRf!Z1WBMHEHEaZHjVq-jc)WoWI*^BiN$=U14rEUBuBx~^%OhPG|#x{ki@8HRyz i9GRwxd7iP>vMdYhy5gK;+cu8l;5<*R>)Q9n_xT6YeO4U+ diff --git a/terracotta/cmaps/data/rdylbu_r_rgba.npy b/terracotta/cmaps/data/rdylbu_r_rgba.npy index b9399f98075472d31320a1e05bf9f48493643d2e..a276c178d26fa12f225b8d24611f22285aff844e 100644 GIT binary patch delta 20 ccmeyv@rPr>HAcpFldm&6Gk)JJ&6LOl0A$AqSO5S3 delta 20 ccmeyv@rPr>HAcp_ldm&6Gyd2t&6LOl0A#@kSO5S3 diff --git a/terracotta/cmaps/data/rdylgn_r_rgba.npy b/terracotta/cmaps/data/rdylgn_r_rgba.npy index 870d1e40d0eae7fc418a5a6f8f9df467bc990282..e8aa468868fb1dfcc0d018a59e0e87c5d994179d 100644 GIT binary patch delta 106 zcmV-w0G0pz2>b}Jv;keG*=ql(+H3!-+im}?+;0D`+;9J}-Esf3-g5u7-*f-B;C27G z;dcMK;&=bO;&}hR<9h$W4X2z>V*H%>xKW* M?1%r=vk?Mo0^SNt-~a#s delta 106 zcmV-w0G0pz2>b}Jv;keF*=ql&+H3!-+im}>+;0D_+;9J|-Esf3-g5u6-*f-A;B^1F z;dcMK;&=bN;&}hQ<9h$V4X2z>V*H$>xKW* M?1%r1V*MQS2j;#e8mI+I$Q?k delta 15 Xcmeyv@rPr>1V*OGmp4yhe8mI+I!^}V diff --git a/terracotta/cmaps/data/turbo_r_rgba.npy b/terracotta/cmaps/data/turbo_r_rgba.npy new file mode 100644 index 0000000000000000000000000000000000000000..0656937db2775875d8d5d2628cf2cca7e071d6c9 GIT binary patch literal 1148 zcmbWr`BPK{0KjqIDx!F#rm`I3D#k)$2zxJxT>Hj!a4<&)DpS&RXuJVUNk&VH@yG^G zM#90Im`FxtL<&e^@RpQ3QSv~MTR`qzcHjGE|3cs2zMn%2m&C>;2t&3E`AWUYnzAxk zZC0tbZw^)ms?@7DB&Q}Pu3x?(d6o4)7ZcZ}Sl@a|QsPGI+xHLA=>k>SfIwBc>VM{z zHcUafi-NC*E7Bn*n>N5&It|Y~>~fDopfOn(4i4rst}e?(1gWRGI0#Wum>> z#OpgITJM=?eqf}j#z?~>BlWcgUOX}I{F$Dob$V)F>UmVJ<6(o2`%OCTG;67D)pDy% z%guHT*E=*^>C|wkOG8DshVmXQWxZNT`m_`e=s0iFQE1b1#%`cs&_KS!M4rRUN#`6+ zNa18l5oF0x9Fb!>|Pu!nW;$C|h z_s7>z*4#w-;4eJxRpWW*E?(95@xE2Vl&V^MZahJC^*PfnzreTh74KCv;&-tH|FSmT zFKK6HaVN8ix(F)lA^2<`nu30`zuM6MV#oNi1Jh4VLUWyjUg?vkB&<@Oj+b{(rWAs~#!Pkm@+H!P0@o2pk5u%(=@T4eaPYC5- DWDlLL literal 0 HcmV?d00001 diff --git a/terracotta/cmaps/data/turbo_rgba.npy b/terracotta/cmaps/data/turbo_rgba.npy new file mode 100644 index 0000000000000000000000000000000000000000..eb6ba329d6d82f5c913f7fe7c69ce27bf11c3d0f GIT binary patch literal 1148 zcmbV=`&Z2e0Kk23@`wyWm&i@lt;u@a_brv`evff-GAD;^md173kyphq9c^qKV|McF zFb=bI)^yO3Hcac}5gH9CHBypZlHT`r@Avyz`xo{(=kvqob6{b7Y}_(o$mStms8?B2 zSEi`VD)shF!Ri2&diDC0w3Nhk3F}i+?iUQ5w?Ct&cgV)RYMUC_y_!VccO z)Q;bkHhizP@J{hdd`e#6eZ3yl&1ZPse!{e}8m8W@!n3@BDfb^R`C&QAM}MKLx`Rh` zDIPV~@pw{#N9~^|>#m}#zs%%@-%u$L$(~nF)5N0 zQaC?3L&8!&LzZXn;L=YmZ~VZV+`y;`pHXesK}QrxBCTBn8^9U5-E)^Mj? z!`(J5<*i!oH*2YA(oxx{<8gzIn&*0+*6DdxtEc{nfrc6bjgO5qRT*i1WTf?>iC6bc zw3nOcxNG7~nVGIzX1Z^h>A7yEuf$A$u?bs|3Hu*|UN$oDn*qngK`-cWp4Z_#t3^7a zLCOt5$_Yj~9fW);5c$M=$j4?QX9pl1nuWCAAL)BPq`hjKyM1wfGZV*79~>Do7)Vz! zux&c_&%LmvO{IUMC;jWD(6>fOZ;}T+)=6})oJiM-33M)hn~o31@p|c4+T-8i)dyo} zjdQ0Z)}7`Bqj~xMC>ljK8e-gd9yOA>$Pv_rkKk$8aQ-n5r`kA-D*Z4jwXRfzxbh&# zmA?ara&Puf%4WH6+uwy!KNoKJD!4XNL9vg5B5ws(rVCv15-6N1P~a($KUv_cQXp@V zK<-3=oCyM_#|xYsCvbeMz|k=RN8AMtjuyxoC9uy;V9!W_%n<^+h6{W-OhLM#ov#1@ literal 0 HcmV?d00001