Skip to content

[Bug]: bar chart with variable fill not working #29072

@igurin-invn

Description

@igurin-invn

Bug summary

An array-like fill argument to plt.bar has no effect.

Code for reproduction

plt.bar([1, 2, 3], [1, 2, 3], fill=(False, True, False), color=('C1', 'C2', 'C3'))

Actual outcome

image

Expected outcome

image

Additional information

No response

Operating system

Windows

Matplotlib Version

3.8.4

Matplotlib Backend

'module://matplotlib_inline.backend_inline'

Python version

3.12.4

Jupyter version

7.2.2

Installation

conda

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions