Skip to content

Commit 79fef72

Browse files
committed
increase ppi
1 parent a731e98 commit 79fef72

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

hypothesis-python/benchmark/graph.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ def plot_vega(vega_spec, data, *, to, parameters=None):
3030
spec["signals"].append({"name": key, "value": value})
3131

3232
with open(to, "wb") as f:
33-
f.write(vl_convert.vega_to_png(spec))
33+
# default ppi is 72, which is somewhat blurry.
34+
f.write(vl_convert.vega_to_png(spec, ppi=200))
3435

3536

3637
def _mean_difference_ci(n1, n2, *, confidence):

0 commit comments

Comments
 (0)