Skip to content

Commit b5bd3d4

Browse files
committed
refine colormap comments
1 parent c62a0df commit b5bd3d4

4 files changed

Lines changed: 0 additions & 4 deletions

File tree

src/Spectrogram/Colormaps/Inferno.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ class Inferno : IColormap
1818
return (bytes[2], bytes[1], bytes[0]);
1919
}
2020

21-
// RGB values are derived from the Inferno colormap in Matplotlib 3.2.1 (https://matplotlib.org)
2221
private readonly int[] rgb =
2322
{
2423
00000003, 00000004, 00000006, 00065543, 00065801, 00065803, 00131342, 00131600,

src/Spectrogram/Colormaps/Magma.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ class Magma : IColormap
1818
return (bytes[2], bytes[1], bytes[0]);
1919
}
2020

21-
// RGB values are derived from the Magma colormap in Matplotlib 3.2.1 (https://matplotlib.org)
2221
private readonly int[] rgb =
2322
{
2423
00000003, 00000004, 00000006, 00065543, 00065801, 00065803, 00131597, 00131599,

src/Spectrogram/Colormaps/Plasma.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ class Plasma : IColormap
1818
return (bytes[2], bytes[1], bytes[0]);
1919
}
2020

21-
// RGB values are derived from the Plasma colormap in Matplotlib 3.2.1 (https://matplotlib.org)
2221
private readonly int[] rgb =
2322
{
2423
00788358, 01050503, 01246857, 01377930, 01574539, 01771148, 01902221, 02033038,

src/Spectrogram/Colormaps/Viridis.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ class Viridis : IColormap
1818
return (bytes[2], bytes[1], bytes[0]);
1919
}
2020

21-
// RGB values are derived from the Viridis colormap in Matplotlib 3.2.1 (https://matplotlib.org)
2221
private readonly int[] rgb =
2322
{
2423
04456788, 04457045, 04457303, 04523352, 04523610, 04524123, 04589916, 04590430,

0 commit comments

Comments
 (0)