I have many common scenarios for data visualizing.
E.g.
vertical comparison or horizontal comparison on the different plots
adding data to the same plots with labels
histogramming with errors bars
custom styles for histograms
How can I simplify usage of such behavior?
First of all I know that in matplotlib I can specify default parameters for some functions. I can use this e.g. for changing default type of histograms to 'step', change defalut colors, applying root style as default.
Then I can prepare functions that can be wrap described common scenarios with additional parameters like arrays of colors and labels, and extend standard arguments of matplotlib via args and kwargs.
I have many common scenarios for data visualizing.
E.g.
How can I simplify usage of such behavior?
First of all I know that in matplotlib I can specify default parameters for some functions. I can use this e.g. for changing default type of histograms to 'step', change defalut colors, applying root style as default.
Then I can prepare functions that can be wrap described common scenarios with additional parameters like arrays of colors and labels, and extend standard arguments of matplotlib via args and kwargs.