plotly.py
plotly.py copied to clipboard
The interactive graphing library for Python :sparkles: This project now includes Plotly Express!
Description When using `make_subplots()` with `shared_xaxes=True`, spike lines only appear on the subplot where the cursor is hovering, rather than showing across all subplots simultaneously. ## Expected Behavior When hovering...
## Description It is a very minor feature. It makes the default font size (16) customizable. Using `relayout!(plt, font=attr(size=18))` does not affect the annotations of subplots, therefor this parameter would...
## Problem When a Plotly template sets `coloraxis_autocolorscale=True`, the `color_continuous_scale` argument passed to plotly.express functions is ignored. ## Reproduction ```python import plotly.express as px import plotly.graph_objects as go df =...
Many times in GIS and map visualization, it is useful to add a certain degree a transparency to a vector layer to see which features of the baseline map are...
For as long as I remember, placing plot legends into legendgroup caused clicking on any single legend in a group (or its title) to hide/show as a group. Then with...
I really appreciate the `subtitle` parameter within Plotly Express charts. However, I'm finding that, when I use `title_y` to update the title's location, the subtitle's location doesn't follow accordingly. This...
I have a very strange bug that I can't seem to diagnose. Given the following data import: ``` plot_data = pd.read_csv("example_plot_data.csv") plot_data['savedate_week'] = pd.to_datetime(plot_data['savedate_week']) ``` And the following basic plotly...
Hi, I was wondering if you would be interested in PRs that add type annotation stubs for the plotly.py API. That would enable static type checkers like mypy and Pyre...
Closes #5289 Update documentation examples to support both GeoPandas < 1.0 and >= 1.0. Context: GeoPandas 1.0 removed the datasets accessor used in `gpd.datasets.get_path("naturalearth_cities")`. Changes: - Try old method first...
In https://plotly.com/python/tile-scatter-maps/#basic-example-with-geopandas, the example: ```python import plotly.express as px import geopandas as gpd geo_df = gpd.read_file(gpd.datasets.get_path("naturalearth_cities")) fig = px.scatter_map( geo_df, lat=geo_df.geometry.y, lon=geo_df.geometry.x, hover_name="name", ) fig.show() ``` Gives: ```log AttributeError: The...