Can't add marker pattern in chart

Using the following Plotly JSON content:

[
  {
    "name": 'SF Zoo',
    "x": ['giraffes', 'orangutans', 'monkeys'],
    "y": [20,14,23],
    "type": "bar",
    "marker": {
      "pattern": {
        "shape": "x"
      }
    }
  },
  {
    "name": 'LA Zoo',
    "x":  ['giraffes', 'orangutans', 'monkeys'],
    "y": [12,18,29],
    "type": "bar",
  }
]

and the following layout

{
  "barmode": "stack",
  "barnorm": "percent"
}

I can't make plotly pattern the plot (i.e, I get this:

instead of this

Using Plotly on codepen work as expected

Hi @susgadol It looks like this is a bug where pattern properties aren't supported :disappointed: I don't have a timeline on a fix for this, but I'll post here if I get any updates

1 Like