Skip to content

Commit

Permalink
Separate documentation of named gradients into two pargraphs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ogeon committed Jul 12, 2021
1 parent 6d8e602 commit 99d20ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions palette/build/named.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ pub fn build_gradients(writer: &mut File) {
.parse()
.unwrap_or_else(|_| panic!("couldn't parse the number of colors for color {}", name));
writeln!(writer, "/// New matplotlib colormap by Nathaniel J. Smith, Stefan van der Walt, and (in the case of viridis) Eric Firing.").unwrap();
writeln!(writer, "///").unwrap();
writeln!(writer, "/// This gradient is perfectly perceptually-uniform, both in regular form and also when converted to black-and-white.").unwrap();
writeln!(
writer,
Expand Down

0 comments on commit 99d20ac

Please sign in to comment.