blog post new release (#2712)

* blog post new release

* update words

* Update docs/blog/posts/release0-27-0.md

Co-authored-by: Dave Pearson <davep@davep.org>

---------

Co-authored-by: Dave Pearson <davep@davep.org>
This commit is contained in:
Will McGugan
2023-06-01 11:33:54 +01:00
committed by GitHub
parent 78db024c01
commit 58a9cb1909
15 changed files with 2057 additions and 346 deletions

View File

@@ -16,6 +16,7 @@ def test_sparkline_single_datapoint():
def test_sparkline_two_values_min_max():
print(repr(render(Sparkline([2, 4], width=2))))
assert render(Sparkline([2, 4], width=2)) == f"{GREEN}{STOP}{RED}{STOP}"
@@ -40,13 +41,6 @@ def test_sparkline_shrink_data_to_width():
)
def test_sparkline_shrink_data_to_width_non_divisible():
assert (
render(Sparkline([1, 2, 3, 4, 5], width=3, summary_function=min))
== f"{GREEN}{STOP}{BLENDED}{STOP}{RED}{STOP}"
)
def test_sparkline_color_blend():
assert (
render(Sparkline([1, 2, 3], width=3))