É possível plotar um boxplot com a biblioteca plotly utilizando o seguinte comando:

fig= px.box(df_boxgrad,
             labels={
                    'value':'Quantidade de empréstimos',
                    },
             title='Quantidade de empréstimos por ano para alunos de graduação',
             width=900,height=600)
fig.update_layout(title_font_size=22,font_size=15,xaxis_title='Ano')
fig.show()

Onde fig é o boxplot que será plotado, df_boxgrad é o data frame referenciado, labels, title, widht, height e update.layout são métodos para formatação do layout.