Skip to content

Commit

Permalink
Fix broken URLs
Browse files Browse the repository at this point in the history
Former-commit-id: d4479cde7a3e762aa0b11d46cb6666bd73e128bc [formerly 0b87380]
Former-commit-id: c510e9021112cb70130a56f74f210ec1ba7e62f2
  • Loading branch information
giswqs committed Sep 6, 2020
1 parent fb60861 commit e396ce9
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
Binary file added examples/example-line-chart.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion examples/example-line-chart.gif.REMOVED.git-id

This file was deleted.

4 changes: 2 additions & 2 deletions pandas_alive/_base_chart.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def validate_params(self):
)
if self.writer not in manimation.writers.list():
raise RuntimeError(
f"Ensure that a matplotlib writer library is installed, list of available writer librarys {manimation.writers.list()}, see https://github.com/JackMcKew/pandas_alive/blob/master/README.md#requirements for more details"
f"Ensure that a matplotlib writer library is installed, list of available writer librarys {manimation.writers.list()}, see https://github.com/JackMcKew/pandas_alive/blob/main/README.md#requirements for more details"
)

def get_period_label(
Expand Down Expand Up @@ -595,7 +595,7 @@ def save(self, filename: str) -> None:

except TypeError as e:
raise RuntimeError(
"Ensure that a matplotlib writer library is installed, see https://github.com/JackMcKew/pandas_alive/blob/master/README.md#requirements for more details"
"Ensure that a matplotlib writer library is installed, see https://github.com/JackMcKew/pandas_alive/blob/main/README.md#requirements for more details"
)

# def encode_html5_video(self,anim):
Expand Down
2 changes: 1 addition & 1 deletion pandas_alive/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def load_dataset(name: str = "covid19") -> pd.DataFrame:
"""

return pd.read_csv(
f"https://raw.githubusercontent.com/JackMcKew/pandas_alive/master/data/{name}.csv",
f"https://raw.githubusercontent.com/JackMcKew/pandas_alive/main/data/{name}.csv",
index_col=0,
parse_dates=[0],
)

0 comments on commit e396ce9

Please sign in to comment.