Fix: Add missing matplotlib installation in example code
Browse files## Description  
The example code fails with `ModuleNotFoundError: No module named 'matplotlib'` when run in a clean environment. This is due to the `matplotlib` package not being pre-installed.
## Changes  
Added the following line at the beginning of the script to ensure all required dependencies are available:
```python
!{sys.executable} -m pip install matplotlib
```
## Testing
The code has been successfully tested and runs without error.
## Note
This contribution is part of an ongoing research initiative to systematically identify and correct faulty example code in Hugging Face Model Cards.
We would appreciate a timely review and integration of this patch to support code reliability and enhance reproducibility for downstream users.
    	
        README.md
    CHANGED
    
    | @@ -53,6 +53,7 @@ pip install git+https://github.com/amazon-science/chronos-forecasting.git | |
| 53 | 
             
            A minimal example showing how to perform inference using Chronos models:
         | 
| 54 |  | 
| 55 | 
             
            ```python
         | 
|  | |
| 56 | 
             
            import matplotlib.pyplot as plt
         | 
| 57 | 
             
            import numpy as np
         | 
| 58 | 
             
            import pandas as pd
         | 
|  | |
| 53 | 
             
            A minimal example showing how to perform inference using Chronos models:
         | 
| 54 |  | 
| 55 | 
             
            ```python
         | 
| 56 | 
            +
            !{sys.executable} -m pip install matplotlib
         | 
| 57 | 
             
            import matplotlib.pyplot as plt
         | 
| 58 | 
             
            import numpy as np
         | 
| 59 | 
             
            import pandas as pd
         | 
