-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Labels
area:frontendRelated to frontend aspectsRelated to frontend aspectstype:bugSomething isn't working as expectedSomething isn't working as expected
Description
Summary
plotly choropleth figure not displayed properly.
Steps to reproduce
import streamlit as st
import plotly.express as px
df = px.data.election()
geojson = px.data.election_geojson()
fig = px.choropleth(df, geojson=geojson, color="Bergeron",
locations="district", featureidkey="properties.district",
projection="mercator"
)
fig.update_geos(fitbounds="locations", visible=False)
fig.update_layout(margin={"r":0,"t":0,"l":0,"b":0})
st.plotly_chart(fig)Expected behavior:
Actual behavior:
Is this a regression?
not sure
Debug info
- Streamlit version: Streamlit, version 0.56.0
- Python version: Python 3.6.2 :: Continuum Analytics, Inc. (in win10), python 3.7 (in docker container with base image python:3.7)
- Using Conda? PipEnv? PyEnv? Pex?
- OS version: win 10, docker on CentOS Linux release 7.6.1810 (Core)
- Browser version: Google Chrome 79.0.3945.130 (64bit), Firefox 72.0.2 (64 bit)
Additional information
If needed, add any other context about the problem here. For example, did this bug come from https://discuss.streamlit.io or another site? Link the original source here!
Metadata
Metadata
Assignees
Labels
area:frontendRelated to frontend aspectsRelated to frontend aspectstype:bugSomething isn't working as expectedSomething isn't working as expected

