Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix calendar README #108

Merged
merged 1 commit into from
Jan 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Calendar/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ A calendar file can be used by Deephaven's calendar API to add a custom calendar

## Use a custom calendar

Here's an example of the documentation for using a custom calendar:
Here's an example that uses the calendar. It assumes you've copied this file to your local Deephaven installation.

```python
from deephaven.calendar import add_calendar, calendar, calendar_names

add_calendar("https://media.githubusercontent.com/media/deephaven/examples/main/Calendar/CompanyY_2024.calendar")
add_calendar("/data/examples/Calendar/CompanyY_2024.calendar")

print(calendar_names())

company_y_cal_2024 = calendar("CompanyY_2024")
```
```
Loading