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 @@ -84,6 +84,10 @@ Backwards incompatible API changes
84
84
- ``TimedeltaIndex.freqstr`` now output the same string format as ``DatetimeIndex``. (:issue:`9116`)
85
85
86
86
87
+ - Bar and horizontal bar plots no longer add a dashed line along the info axis.
88
+ The prior style can be achieved with matplotlib's `axhline` or `axvline`
89
+ methods (:issue:`9088`).
90
+
87
91
Deprecations
88
92
~~~~~~~~~~~~
89
93
Original file line number Diff line number Diff line change @@ -1901,16 +1901,13 @@ def _post_plot_logic(self):
1901
1901
ax .set_xlim ((s_edge , e_edge ))
1902
1902
ax .set_xticks (self .tick_pos )
1903
1903
ax .set_xticklabels (str_index )
1904
- if not self .log : # GH3254+
1905
- ax .axhline (0 , color = 'k' , linestyle = '--' )
1906
1904
if name is not None and self .use_index :
1907
1905
ax .set_xlabel (name )
1908
1906
elif self .kind == 'barh' :
1909
1907
# horizontal bars
1910
1908
ax .set_ylim ((s_edge , e_edge ))
1911
1909
ax .set_yticks (self .tick_pos )
1912
1910
ax .set_yticklabels (str_index )
1913
- ax .axvline (0 , color = 'k' , linestyle = '--' )
1914
1911
if name is not None and self .use_index :
1915
1912
ax .set_ylabel (name )
1916
1913
else :
You can’t perform that action at this time.
0 commit comments