You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2020/10/06 19:44:59 UTC
[airavata-django-portal] branch master updated: Fixing tutorial code
This is an automated email from the ASF dual-hosted git repository.
machristie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airavata-django-portal.git
The following commit(s) were added to refs/heads/master by this push:
new 26f2f64 Fixing tutorial code
26f2f64 is described below
commit 26f2f64c5f004610bc1b2e1cd967461b1d7a8fee
Author: Marcus Christie <ma...@apache.org>
AuthorDate: Tue Oct 6 15:44:45 2020 -0400
Fixing tutorial code
---
docs/tutorial/gateways2019_tutorial.md | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/docs/tutorial/gateways2019_tutorial.md b/docs/tutorial/gateways2019_tutorial.md
index 1a1f931..c7e2d8a 100644
--- a/docs/tutorial/gateways2019_tutorial.md
+++ b/docs/tutorial/gateways2019_tutorial.md
@@ -637,7 +637,7 @@ grid as an example.
def generate_data(self, request, experiment_output, experiment, output_file=None, show_grid=False):
```
-2. Add the following `.show_grid()` lines to the matplotlib code:
+2. Add the following `.grid()` lines to the matplotlib code:
```python
...
@@ -646,11 +646,11 @@ grid as an example.
ax[0].plot(range(1, 10), homo_eigenvalues, label='Homo')
ax[0].set_ylabel('eV')
ax[0].legend()
- ax[0].show_grid(show_grid)
+ ax[0].grid(show_grid)
ax[1].plot(range(1, 10), lumo_eigenvalues, label='Lumo')
ax[1].set_ylabel('eV')
ax[1].legend()
- ax[1].show_grid(show_grid)
+ ax[1].grid(show_grid)
...
```
@@ -1113,6 +1113,9 @@ $("#run-button").click((e) => {
Now that we can launch the experiment we can go ahead and give it a try.
+You can also try this out in the production deployment at
+<https://testdrive.airavata.org/gateways19_tutorial/hello/>.
+
### Displaying the experiment output
Instead of simply reporting the status of the job we would also like to do