Plot a chart using matplotlib

Hey is it possible somehow to run Python code that plots a chart using matplotlib and numpy in n8n? I’m running self-hosted latest version.
TIA

nvm, was able with these modules:

import pandas as pd
import numpy as np
import matplotlib
matplotlib.use(‘Agg’)
import matplotlib.pyplot as plt
import matplotlib.dates as mdates
import io, base64