Skip to content

Commit

Permalink
master -> main in documentations, README, etc. (#3126)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonmmease authored Jul 28, 2023
1 parent 603c812 commit 72a361c
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ which you can find in `pyproject.toml` (`[project.optional-dependencies]/dev`)

Once your local environment is up-to-date, you can create a new git branch
which will contain your contribution
(always create a new branch instead of making changes to the master branch):
(always create a new branch instead of making changes to the main branch):

```cmd
git switch -c <your-branch-name>
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ alt.Chart(cars).mark_point().encode(
)
```

![Vega-Altair Visualization](https://raw.githubusercontent.com/altair-viz/altair/master/images/cars.png)
![Vega-Altair Visualization](https://raw.githubusercontent.com/altair-viz/altair/main/images/cars.png)

One of the unique features of Vega-Altair, inherited from Vega-Lite, is a declarative grammar of not just visualization, but _interaction_.
With a few modifications to the example above we can create a linked histogram that is filtered based on a selection of the scatter plot.
Expand Down Expand Up @@ -74,7 +74,7 @@ bars = alt.Chart(source).mark_bar().encode(
points & bars
```

![Vega-Altair Visualization Gif](https://raw.githubusercontent.com/altair-viz/altair/master/images/cars_scatter_bar.gif)
![Vega-Altair Visualization Gif](https://raw.githubusercontent.com/altair-viz/altair/main/images/cars_scatter_bar.gif)

## Features
* Carefully-designed, declarative Python API.
Expand Down Expand Up @@ -114,7 +114,7 @@ hatch run test
```

For information on how to contribute your developments back to the Vega-Altair repository, see
[`CONTRIBUTING.md`](https://github.com/altair-viz/altair/blob/master/CONTRIBUTING.md)
[`CONTRIBUTING.md`](https://github.com/altair-viz/altair/blob/main/CONTRIBUTING.md)

## Citing Vega-Altair
[![JOSS Paper](https://joss.theoj.org/papers/10.21105/joss.01057/status.svg)](https://joss.theoj.org/papers/10.21105/joss.01057)
Expand Down
10 changes: 5 additions & 5 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

2. Make certain your branch is in sync with head:

git pull upstream master
git pull upstream main

3. Do a clean doc build:

Expand All @@ -28,11 +28,11 @@
- URLs in ``doc/conf.py``
- versions in ``altair/vegalite/v5/display.py``

7. Commit change and push to master:
7. Commit change and push to main:

git add . -u
git commit -m "MAINT: bump version to 5.0.0"
git push upstream master
git push upstream main

8. Tag the release:

Expand Down Expand Up @@ -69,11 +69,11 @@
Backward-Incompatible Changes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

14. Commit change and push to master:
14. Commit change and push to main:

git add . -u
git commit -m "MAINT: bump version to 5.1.0dev"
git push upstream master
git push upstream main

15. Double-check that a conda-forge pull request is generated from the updated
pip package by the conda-forge bot (may take up to ~an hour):
Expand Down
4 changes: 2 additions & 2 deletions doc/getting_started/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Development Installation

The `Altair source repository`_ is available on GitHub. Once you have cloned the
repository and installed all the above dependencies, run the following command
from the root of the repository to install the master version of Altair:
from the root of the repository to install the main version of Altair:

.. code-block:: bash
Expand All @@ -46,7 +46,7 @@ development version directly from GitHub using:
pip install -e git+https://github.com/altair-viz/altair.git
Please see `CONTRIBUTING.md <https://github.com/altair-viz/altair/blob/master/CONTRIBUTING.md>`_
Please see `CONTRIBUTING.md <https://github.com/altair-viz/altair/blob/main/CONTRIBUTING.md>`_
for details on how to contribute to the Altair project.

.. _conda: https://docs.conda.io/
Expand Down
2 changes: 1 addition & 1 deletion doc/user_guide/internals.rst
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ Altair's python object structure and Vega-Lite's schema definition structure.
One of the nice features of Altair is that this low-level object hierarchy is not
constructed by hand, but rather *programmatically generated* from the Vega-Lite
schema, using the ``generate_schema_wrapper.py`` script that you can find in
`Altair's repository <https://github.com/altair-viz/altair/blob/master/tools/generate_schema_wrapper.py>`_.
`Altair's repository <https://github.com/altair-viz/altair/blob/main/tools/generate_schema_wrapper.py>`_.
This auto-generation of code propagates descriptions from the vega-lite schema
into the Python class docstrings, from which the
`API Reference <http://altair-viz.github.io/user_guide/API.html>`_
Expand Down

0 comments on commit 72a361c

Please sign in to comment.