Skip to content

Commit 67bc106

Browse files
committed
move some more master to main refs
1 parent 6bde0c2 commit 67bc106

6 files changed

Lines changed: 10 additions & 10 deletions

File tree

README.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
:target: https://pypi.org/project/folium
55
:alt: PyPI Package
66

7-
.. |Travis| image:: https://travis-ci.org/python-visualization/folium.svg?branch=master
7+
.. |Travis| image:: https://travis-ci.org/python-visualization/folium.svg?branch=main
88
:target: https://travis-ci.org/python-visualization/folium
99
:alt: Travis Build Status
1010

@@ -17,7 +17,7 @@
1717
:alt: DOI
1818

1919
.. |binder| image:: https://mybinder.org/badge_logo.svg
20-
:target: https://mybinder.org/v2/gh/python-visualization/folium/master?filepath=examples
20+
:target: https://mybinder.org/v2/gh/python-visualization/folium/main?filepath=examples
2121

2222
folium
2323
======
@@ -56,7 +56,7 @@ Gallery
5656
There are two galleries of Jupyter notebooks with examples, which you can see
5757
using Jupyter's nbviewer:
5858

59-
https://nbviewer.jupyter.org/github/python-visualization/folium/tree/master/examples/
59+
https://nbviewer.jupyter.org/github/python-visualization/folium/tree/main/examples/
6060

6161
https://nbviewer.jupyter.org/github/python-visualization/folium_contrib/tree/master/notebooks/
6262

@@ -66,7 +66,7 @@ Contributing
6666
We love contributions! folium is open source, built on open source,
6767
and we'd love to have you hang out in our community.
6868

69-
See `our complete contributor's guide <https://github.com/python-visualization/folium/blob/master/.github/CONTRIBUTING.md>`_ for more info.
69+
See `our complete contributor's guide <https://github.com/python-visualization/folium/blob/main/.github/CONTRIBUTING.md>`_ for more info.
7070

7171

7272
.. |folium| image:: http://python-visualization.github.io/folium/_images/folium_logo.jpg
@@ -76,4 +76,4 @@ See `our complete contributor's guide <https://github.com/python-visualization/f
7676
Changelog
7777
---------
7878

79-
Check the `changelog <https://raw.githubusercontent.com/python-visualization/folium/master/CHANGES.txt>`_ for a detailed list of the latest changes.
79+
Check the `changelog <https://raw.githubusercontent.com/python-visualization/folium/main/CHANGES.txt>`_ for a detailed list of the latest changes.

folium/plugins/heat_map.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class HeatMap(JSCSSMixin, Layer):
5757

5858
default_js = [
5959
('leaflet-heat.js',
60-
'https://cdn.jsdelivr.net/gh/python-visualization/folium@master/folium/templates/leaflet_heat.min.js'),
60+
'https://cdn.jsdelivr.net/gh/python-visualization/folium@main/folium/templates/leaflet_heat.min.js'),
6161
]
6262

6363
def __init__(self, data, name=None, min_opacity=0.5, max_zoom=18,

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
1616
See folium `README.rst` file for more information:
1717
18-
https://github.com/python-visualization/folium/blob/master/README.rst
18+
https://github.com/python-visualization/folium/blob/main/README.rst
1919
2020
Python {py} detected.
2121

tests/plugins/test_heat_map.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def test_heat_map():
2828
out = normalize(m._parent.render())
2929

3030
# We verify that the script import is present.
31-
script = '<script src="https://cdn.jsdelivr.net/gh/python-visualization/folium@master/folium/templates/leaflet_heat.min.js"></script>' # noqa
31+
script = '<script src="https://cdn.jsdelivr.net/gh/python-visualization/folium@main/folium/templates/leaflet_heat.min.js"></script>' # noqa
3232
assert script in out
3333

3434
# We verify that the script part is correct.

tests/selenium/test_geojson_selenium.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def test_geojson(driver):
1111
- https://github.com/python-visualization/folium/pull/1289
1212
1313
"""
14-
data_url = 'https://cdn.jsdelivr.net/gh/python-visualization/folium@master/examples/data/search_bars_rome.json'
14+
data_url = 'https://cdn.jsdelivr.net/gh/python-visualization/folium@main/examples/data/search_bars_rome.json'
1515

1616
m = folium.Map((41.9, 12.5), zoom_start=10, tiles='cartodbpositron')
1717
marker_cluster = folium.plugins.MarkerCluster(name='cluster').add_to(m)

tests/test_folium.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
rootpath = os.path.abspath(os.path.dirname(__file__))
3333

3434
# For testing remote requests
35-
remote_url = 'https://raw.githubusercontent.com/python-visualization/folium/master/examples/data/us-states.json' # noqa
35+
remote_url = 'https://raw.githubusercontent.com/python-visualization/folium/main/examples/data/us-states.json' # noqa
3636

3737

3838
def setup_data():

0 commit comments

Comments
 (0)