Mirror axis (x: bottom and top, y: left and right)


I am using plotly in a python 2.7 environment
I want to create a (Heatmap) plot, showing the axis labels on ALL FOUR sides, i.e. y-axis mirrored from left to right and x-axis mirrored from bottom to top.

With the axis mirror option I can use ‘ticks’ as value to mirror the axis ticks to the opposite side, but no labels are shown.
axis = {“mirror” : “ticks”}

With the axis side option I can move the x-axis from bottom to top and the y-axis from left to right.

But how can I show both axis on the correpsonding opposite side, including ticks and ticklabels?

The following minimal example shows, that the tick markers are mirrored, but not the tick markers.

import plotly.offline as py
import plotly.graph_objs as go

trace = go.Heatmap(z=[[1, 20, 30, 50, 1], [20, 1, 60, 80, 30], [30, 60, 1, -10, 20]],
                   x=['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday'],
                   y=['Morning', 'Afternoon', 'Evening'])

# set plot layout  
layout = go.Layout(
    xaxis={"mirror" : "allticks"}, # x-axis also at top
    yaxis={"mirror" : "allticks"}  # y-axis also at right

fig = go.Figure(data=[trace], layout=layout)

py.plot(fig, filename='labelled-heatmap.html')