Skip to content

Commit

Permalink
fix: make examples narrower
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason3S committed Feb 14, 2024
1 parent 51a41cf commit 3901c89
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@
"options": {
"trailingComma": "none"
}
},
{
"files": "samples/**",
"options": {
"printWidth": 70
}
}
]
}
2 changes: 1 addition & 1 deletion samples/temperature.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const data = [
['Dec', 3, 2, 7],
];
const graph = histogram(data, {
width: 80,
width: 70,
maxLabelWidth: 5,
title: 'Temperature Degrees C',
type: 'point-min-max',
Expand Down

0 comments on commit 3901c89

Please sign in to comment.