Plotly Heatmap removes duplicate x-labels. How can I allow duplicate x-labels?

Using plolty version 5.11.0, and the below code:

import plotly.graph_objects as go
import numpy as np

labels = ["a", "a", "b", "b", "j", "a", "b"]
z = np.arange(len(labels)).reshape(1, len(labels))
fig = go.Figure()
    x = labels,

…produces a graph w/ only β€œa”, β€œb”, β€œj” labels, removing the duplicate labels. It also shifts the values, such that β€œb” is now associated w/ value β€œ1” when it should be β€œ2”. This happens w/o an error or warning about duplicates or mentioning that the data dimensions have been reduced.

Is there a way to allow non-unique labels in the x-axis?