Plotly plot showing in viewer pane instead of R notebook

Any way you can turn this issue into a minimal reprex .Rmd?.