3 ms·
Why would one mimic matplotlib's API besides the fact that everyone knows it? I use matplotlib a lot but I keep googling the same things again and again, which
by luoc 5y ago
Why would one mimic matplotlib's API besides the fact that everyone knows it?
I use matplotlib a lot but I keep googling the same things again and again, which is my subjective indicator that something in the design is wrong. How to set log scales again? Do I apply this method to the figure or axis object? Setting a different backend (like agg) after pyplot was importet?
Also, nested kwargs make it impossible for my IDE to give meaningful hints on parameters, not even talking about typed interfaces so far. Global state!
I mean, this library solves a truly complex problem and yes, I get things done but none of the hours working with it was close to be pleasant.
I wish some day someone is brave enough to enter new lands, leaving this matlab style of thinking behind.
- id_ris 5y agoThere is no good reason to mimic matplotlib's API except that everyone knows it.