File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,10 @@ Backwards incompatible API changes
49
49
- ``TimedeltaIndex.freqstr`` now output the same string format as ``DatetimeIndex``. (:issue:`9116`)
50
50
51
51
52
+ - Bar and horizontal bar plots no longer add a dashed line along the info axis.
53
+ The prior style can be achieved with matplotlib's `axhline` or `axvline`
54
+ methods (:issue:`9088`).
55
+
52
56
Deprecations
53
57
~~~~~~~~~~~~
54
58
Original file line number Diff line number Diff line change @@ -1895,16 +1895,13 @@ def _post_plot_logic(self):
1895
1895
ax .set_xlim ((s_edge , e_edge ))
1896
1896
ax .set_xticks (self .tick_pos )
1897
1897
ax .set_xticklabels (str_index )
1898
- if not self .log : # GH3254+
1899
- ax .axhline (0 , color = 'k' , linestyle = '--' )
1900
1898
if name is not None and self .use_index :
1901
1899
ax .set_xlabel (name )
1902
1900
elif self .kind == 'barh' :
1903
1901
# horizontal bars
1904
1902
ax .set_ylim ((s_edge , e_edge ))
1905
1903
ax .set_yticks (self .tick_pos )
1906
1904
ax .set_yticklabels (str_index )
1907
- ax .axvline (0 , color = 'k' , linestyle = '--' )
1908
1905
if name is not None and self .use_index :
1909
1906
ax .set_ylabel (name )
1910
1907
else :
You can’t perform that action at this time.
0 commit comments