Skip to content

Commit 16e454a

Browse files
committed
Make small updates
1 parent 75af440 commit 16e454a

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

doc/python/log-plot.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -84,26 +84,26 @@ fig.show()
8484

8585
*New in 6.3*
8686

87-
By default, minor log labels use small digits, as shown in the previous example. You can control how minor log labels are displayed using the `minorloglabels` attribute. Set to `"complete"` to show complete digits, or `None` for no labels.
87+
You can control how minor log labels are displayed using the `minorloglabels` attribute. Set to `"complete"` to show complete digits, or `None` for no labels. By default, minor log labels use `"small digits"`, as shown in the previous example.
8888

8989
```python
9090
import plotly.express as px
9191

9292
df = px.data.gapminder().query("year == 2007")
9393

9494
fig = px.scatter(
95-
df, x="gdpPercap",
96-
y="lifeExp",
95+
df, x="gdpPercap",
96+
y="lifeExp",
9797
hover_name="country",
98-
log_x=True,
99-
range_x=[1,100000],
98+
log_x=True,
99+
range_x=[1,100000],
100100
range_y=[0,100]
101101
)
102102

103103
fig.update_xaxes(
104104
minor=dict(
105-
ticks="inside",
106-
ticklen=6,
105+
ticks="inside",
106+
ticklen=6,
107107
showgrid=True
108108
),
109109
minorloglabels="complete"

doc/python/map-configuration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,9 @@ fig.show()
110110

111111
In addition to physical base map features, a "cultural" base map is included which is composed of country borders and selected sub-country borders such as states.
112112

113-
In **Plotly.py 6.3 and later**, this base map is created from [UN data](https://geoportal.un.org/arcgis/sharing/rest/content/items/d7caaff3ef4b4f7c82689b7c4694ad92/data).
113+
In **Plotly.py 6.3 and later**, this base map is created from [UN data](https://geoportal.un.org/arcgis/sharing/rest/content/items/d7caaff3ef4b4f7c82689b7c4694ad92/data) for country borders, and Natural Earth data for sub-country borders.
114114

115-
In **earlier versions of Plotly.py**, this base map is based on Natural Earth data. Plotly includes data from Natural Earth "as-is". This dataset draws boundaries of countries according to defacto status. See the [Natural Earth page for more details](https://www.naturalearthdata.com/downloads/50m-cultural-vectors/50m-admin-0-countries-2/).
115+
In **earlier versions of Plotly.py**, this base map is based only on Natural Earth data. Plotly includes data from Natural Earth "as-is". This dataset draws boundaries of countries according to defacto status. See the [Natural Earth page for more details](https://www.naturalearthdata.com/downloads/50m-cultural-vectors/50m-admin-0-countries-2/).
116116

117117
**To create a map with your own cultural features** please refer to our [choropleth documentation](/python/choropleth-maps/).
118118

0 commit comments

Comments
 (0)