Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
5feb785439 | |||
80d592b6ce | |||
2cf466f5ec | |||
1e7014b9a5 |
@ -1,9 +1,9 @@
|
||||
# PythonSampleApp
|
||||
|
||||
This application shows:
|
||||
- basic usage of input files in Python applications
|
||||
- basic usage of input files in Python applications
|
||||
- creating and returning output file in Python application
|
||||
- declaring Matplotlib dependency
|
||||
|
||||
Contents of the repository:
|
||||
- [appDefinition.json](appDefinition.json) - application definition descriptor
|
||||
|
@ -18,6 +18,6 @@
|
||||
"fileName" : "multiplied_numbers_plot.png",
|
||||
"isReturnedValue" : false
|
||||
} ],
|
||||
"requiredTools" : [ "python3", "python-matplotlib" ],
|
||||
"requiredTools" : [ "python3", "python-numpy" ],
|
||||
"requiredComputationResources" : { }
|
||||
}
|
@ -26,4 +26,4 @@ def main(numbers_file, multiplier):
|
||||
multiplied_numbers = numbers * multiplier
|
||||
plt.figure()
|
||||
plt.plot(multiplied_numbers)
|
||||
plt.savefig('multiplied_numbers_plot.png')
|
||||
plt.savefig('multiplied_numbers_plot.png')
|
||||
|
Loading…
Reference in New Issue
Block a user