「カフェでEVを見かける」という噂から、今回「カフェが増えると電気自動車が普及するのではないか」という仮説を立ててみました。そこで、EVとカフェに関するグラフを作りつつ、それが本当なのかPythonで相関関係を調べてみましょう。 最初に、Pythonを ...
It is possible to set a logarithmic scale for one or both axes. This functionality is in fact only one application of a more general transformation system in Matplotlib. Each of the axes' scales are ...
To generate plots that look hand drawn, in the style of the xkcd comic, we can use the plt.xkcd() styling option. To make the style only temporary we construct the plot under a with statement to limit ...