Skip to content

Commit 96ebed1

Browse files
committed
Fix {} to Dict() for Julia v0.4
1 parent 00ef7ab commit 96ebed1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,19 +34,19 @@ PlotlyAccount("username","your api key")
3434
Note: you may also specify your session endpoints using signin as follows:
3535

3636
```julia
37-
julia> Plotly.signin("username","your api key",{"plotly_domain"=> "your_plotly_base_endpoint", "plotly_api_domain"=> "your_plotly_api_endpoint"})
37+
julia> Plotly.signin("username","your api key",Dict("plotly_domain"=> "your_plotly_base_endpoint", "plotly_api_domain"=> "your_plotly_api_endpoint"))
3838
```
3939

4040
## Saving your credentials
4141
```julia
42-
julia> Plotly.set_credentials_file({"username"=>"your_user_name","api_key"=>"your_api_key"})
42+
julia> Plotly.set_credentials_file(Dict("username"=>"your_user_name","api_key"=>"your_api_key"))
4343
```
4444

4545
Note: your credentials will be saved within /YOUR_HOME_DIR/.plotly/.credentials
4646

4747
## Saving your endpoint configuration
4848
```julia
49-
julia> Plotly.set_config_file({"plotly_domain"=> "your_plotly_base_endpoint", "plotly_api_domain"=> "your_plotly_api_endpoint"})
49+
julia> Plotly.set_config_file(Dict("plotly_domain"=> "your_plotly_base_endpoint", "plotly_api_domain"=> "your_plotly_api_endpoint"))
5050
```
5151

5252
Note: your configuration will be saved within /YOUR_HOME_DIR/.plotly/.config

0 commit comments

Comments
 (0)