Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

test.py 219 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
  1. import matplotlib.pyplot as plt
  2. from prefect import flow, task
  3. @task
  4. def plot():
  5. fig = plt.figure()
  6. fig.plot([1, 2, 3], [1, 2, 3])
  7. @flow
  8. def main():
  9. plot.submit()
  10. if __name__ == "__main__":
  11. main()
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...