You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
mpl 2.1 barcharts edgecolor and linewidth only apply to first bar #9351
@jolespin It defines the name of the figure. I then use it to define the name of the figure with fig.get_label() (personal habit). The name of the kwarg ('num') is due to the MATLAB legacy IIRC.
Please include a minimal runnable example and the full traceback (it makes it way easier to help you if we can copy-paste reproduce the problem and see the full traceback you are seeing).
Activity
jolespin commentedon Oct 10, 2017
afvincent commentedon Oct 10, 2017
I can confirm the issue with a fresh install of Matplotlib 2.1 (from conda) on GNU/Linux (Fedora 26), with Python 3.6.3 (from conda):
Edit: the issue is on the master branch too (confirmed on
2.1.0.post222+gad730d131)jolespin commentedon Oct 10, 2017
Off topic but what does
num='mwe_scalar_bar_ec'do?anntzer commentedon Oct 10, 2017
See #9353.
afvincent commentedon Oct 10, 2017
@jolespin It defines the name of the figure. I then use it to define the name of the figure with
fig.get_label()(personal habit). The name of the kwarg ('num') is due to the MATLAB legacy IIRC.afvincent commentedon Oct 10, 2017
@anntzer You are too fast ^^... And
git bisectindeed yells5348ce9551e2975050a495af1259294f03d3af12 is the first bad committimhoffm commentedon Nov 21, 2017
Workaound
The bug is just a missing broadcasting of the
edgecolor. You can circumvent this by explicitly setting it for all bars:barh 함수의 bottom 매개변수의 deprecate 경고를 보지 않기 위해 y 로 변경. matploblit 2.1.0…
wardakhan149 commentedon Sep 4, 2018
i am using the code below.
and getting the following error:
only size-1 arrays can be converted to Python scalars
can someone help me here ? :(
[@tacaswell edited to add markdown]
tacaswell commentedon Sep 4, 2018
@wardakhan149 That question would probably be better on the mailing list (matplotlib-users@python.org see https://mail.python.org/mailman/listinfo/matplotlib-users ).
Please include a minimal runnable example and the full traceback (it makes it way easier to help you if we can copy-paste reproduce the problem and see the full traceback you are seeing).
Good luck!