Parkinson’s disease in the spinal cord: an exploratory study to establish T2*w, MTR and diffusion-weighted imaging metric values
import plotly.express as px
from plotly.offline import plot
from IPython.core.display import HTML
from PIL import Image
import plotly.io as pio
pio.renderers.default = "plotly_mimetype"
# Load the image using PIL
img = Image.open('figure2.png')
# Display the image
fig = px.imshow(img)
# Remove axes and set the dimensions
fig.update_layout(
xaxis_showgrid=False,
yaxis_showgrid=False,
xaxis_visible=False,
yaxis_visible=False,
width=790, # Use the original width of the image
height=410, # Use the original height
margin=dict(t=0, l=0, r=0, b=0),
)
fig.show()
Loading...