Tachi67 commited on
Commit
4610241
·
verified ·
1 Parent(s): d4f3dad

Update Introduction_to_Jarvis.md

Browse files
Files changed (1) hide show
  1. Introduction_to_Jarvis.md +15 -15
Introduction_to_Jarvis.md CHANGED
@@ -299,21 +299,21 @@ Here we go!
299
  - The Controller of CtrlExMemFlow_ExtLib calls write_code to write and test the code. Still, we do not provide any more test suites other than checking syntax.
300
  ```python
301
  def plot_stock_prices(df):
302
- """
303
- Plots the 'Close' prices against the dates.
304
-
305
- Parameters:
306
- df (pandas.DataFrame): The DataFrame containing the stock data.
307
- """
308
- import matplotlib.pyplot as plt
309
-
310
- plt.figure(figsize=(10,5))
311
- plt.plot(df.index, df['Close'], label='Close Price history')
312
- plt.xlabel('Date')
313
- plt.ylabel('Close Price')
314
- plt.title('Close Price Trend')
315
- plt.legend()
316
- plt.show()
317
  ```
318
  - The MemoryWritingFlow of ExtendLibrary updates the logs of ExtendLibrary, it records the action of write_code.
319
  - The MemoryReadingFlow of ExtendLibrary reads in the memory, here, new logs will override the old logs.
 
299
  - The Controller of CtrlExMemFlow_ExtLib calls write_code to write and test the code. Still, we do not provide any more test suites other than checking syntax.
300
  ```python
301
  def plot_stock_prices(df):
302
+ """
303
+ Plots the 'Close' prices against the dates.
304
+
305
+ Parameters:
306
+ df (pandas.DataFrame): The DataFrame containing the stock data.
307
+ """
308
+ import matplotlib.pyplot as plt
309
+
310
+ plt.figure(figsize=(10,5))
311
+ plt.plot(df.index, df['Close'], label='Close Price history')
312
+ plt.xlabel('Date')
313
+ plt.ylabel('Close Price')
314
+ plt.title('Close Price Trend')
315
+ plt.legend()
316
+ plt.show()
317
  ```
318
  - The MemoryWritingFlow of ExtendLibrary updates the logs of ExtendLibrary, it records the action of write_code.
319
  - The MemoryReadingFlow of ExtendLibrary reads in the memory, here, new logs will override the old logs.