Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: scale improvements #1383
refactor: scale improvements #1383
Changes from 11 commits
63a8d02
d31d2e0
63dad76
6c6185d
6a5a69e
6ab43ac
08838a9
5d12a2a
abfd291
5a1b349
ae9b210
79fad38
16e470a
276c7cf
2ed8e58
8a4dfe5
5640e5a
5da6339
54cb818
49f799e
97d09aa
b24c588
b06bf2d
16e19b0
e8e5c20
b6f3839
d419c3c
276a5d9
bb3053b
a1ca96a
4fb6ff1
9329c70
5d82166
2d1ca1f
82b082b
c4f4037
0ccf5b1
10a7b38
d7429fc
c6a2aa3
fcd45d0
53f1b9d
e7e288b
0acc6b0
46563c3
69a7d41
209c9f6
9219ceb
1ab9a78
d173297
b80bb22
7711a63
7563e07
9398aad
ba1a983
3f571d9
f5a9e39
2a71e74
43a2750
6600695
c1822f8
b3a9c7e
2c877eb
e61c7eb
cea8e19
3f44bd6
854ea38
0de55eb
604a1e0
820f3fd
908a7f8
9dd03e1
7cdd7a9
78342e3
6f8bf4c
23513e2
2a69ec5
e532321
8a90a96
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have yet to find a good way to cast the errors in catch blocks. I have started doing...
but besides that, This catch is not even needed, nothing changes so I'd say we handle the error differently here or get rid of the
try
/catch
altogether.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Glad to get rid of the try/catch, haven't analyzed its purpose. As we discussed I'd like to get rid of try/catch in the use of scales too, started that work but shelved at the time, it's best to avoid try/catch use in normal chartmaking code as usually there's a better option
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I looked at it and don't have the courage to tamper with it in this PR, I think @nickofthyme you'd have better intuition about what to do with it