Skip to content

Commit

Permalink
Update README.md (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
jjbrosnan committed Jan 24, 2024
1 parent 21af780 commit ba558e9
Showing 1 changed file with 3 additions and 3 deletions.
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")
```
```

0 comments on commit ba558e9

Please sign in to comment.