infinity and was absent for negative infinity (GH7949) • Bug in area plot draws legend with incorrect alpha when stacked=True (GH8027) • Period and PeriodIndex addition/subtraction with np.timedelta64 results In [5]: plt.figure() Out[5]: In [6]: s.hist(normed=True, alpha=0.2) Out[6]: In [7]: s.plot(kind=’kde’) Out[7]: making a scatter plot matrix from pandas.tools.plotting import scatter_matrix scatter_matrix(df, alpha=0.2) • Add stacked argument to Series and DataFrame’s plot method for stacked bar plots. df.plot(kind=’bar’
infinity and was absent for negative infinity (GH7949) • Bug in area plot draws legend with incorrect alpha when stacked=True (GH8027) • Period and PeriodIndex addition/subtraction with np.timedelta64 results In [5]: plt.figure() Out[5]: In [6]: s.hist(normed=True, alpha=0.2) Out[6]: In [7]: s.plot(kind=’kde’) Out[7]: making a scatter plot matrix from pandas.tools.plotting import scatter_matrix scatter_matrix(df, alpha=0.2) • Add stacked argument to Series and DataFrame’s plot method for stacked bar plots. df.plot(kind=’bar’
figure() Out[891]: In [892]: df.diff().hist(color=’k’, alpha=0.5, bins=50) Out[892]: array([[Axes(0.125,0.536364;0.352273x0.363636), Axes(0.547727,0.536364;0 Series, DataFrame com : float. optional Center of mass: alpha = com / (1 + com), span : float, optional Specify decay in terms of span, alpha = 2 / (span + 1) min_periods : int, default 0 Number of specified EWMA is sometimes specified using a “span” parameter s, we have have that the decay parameter alpha is related to the span as α = 1 − 2/(s + 1) = c/(1 + c) where c is the center of mass. Given a span
figure() Out[892]: In [893]: df.diff().hist(color=’k’, alpha=0.5, bins=50) Out[893]: array([[Axes(0.125,0.536364;0.352273x0.363636), Axes(0.547727,0.536364;0 Series, DataFrame com : float. optional Center of mass: alpha = com / (1 + com), span : float, optional Specify decay in terms of span, alpha = 2 / (span + 1) min_periods : int, default 0 Number of specified EWMA is sometimes specified using a “span” parameter s, we have have that the decay parameter alpha is related to the span as α = 1 − 2/(s + 1) = c/(1 + c) where c is the center of mass. Given a span
infinity and was absent for negative infinity (GH7949) • Bug in area plot draws legend with incorrect alpha when stacked=True (GH8027) • Period and PeriodIndex addition/subtraction with np.timedelta64 results In [5]: plt.figure() Out[5]: In [6]: s.hist(normed=True, alpha=0.2) Out[6]: In [7]: s.plot(kind='kde') Out[7]: making a scatter plot matrix from pandas.tools.plotting import scatter_matrix scatter_matrix(df, alpha=0.2) • Add stacked argument to Series and DataFrame’s plot method for stacked bar plots. df.plot(kind='bar'
randn(1000) - 1}, columns=['a', 'b', 'c']) ....: In [25]: plt.figure(); In [26]: df4.plot.hist(alpha=0.5) Out[26]: 3.11. Visualization 583 [33]: plt.figure() Out[33]: In [34]: df.diff().hist(color='k', alpha=0.5, bins=50) Out[34]: array([[, powerful Python data analysis toolkit, Release 1.0.0 To produce an unstacked plot, pass stacked=False. Alpha value is set to 0.5 unless otherwise specified: In [62]: df.plot.area(stacked=False); 598 Chapter
randn(1000) - 1}, columns=['a', 'b', 'c']) ....: In [25]: plt.figure(); In [26]: df4.plot.hist(alpha=0.5) Out[26]: 574 Chapter 4. User Guide [33]: plt.figure() Out[33]: In [34]: df.diff().hist(color='k', alpha=0.5, bins=50) \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\Out[34]: array([[Alpha value is set to 0.5 unless otherwise specified: In [62]: df.plot.area(stacked=False); 4.10. Visualization
randn(1000) - 1}, columns=['a', 'b', 'c']) ....: In [25]: plt.figure(); In [26]: df4.plot.hist(alpha=0.5) Out[26]: 574 Chapter 4. User Guide [33]: plt.figure() Out[33]: In [34]: df.diff().hist(color='k', alpha=0.5, bins=50) \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\Out[34]: array([[Alpha value is set to 0.5 unless otherwise specified: In [62]: df.plot.area(stacked=False); 4.10. Visualization