Hi Team! I am using Nixtla to make some CVE growt...
# timegpt
j
Hi Team! I am using Nixtla to make some CVE growth predictions and would like to use the graphs, but there doesn’t seem to be a documented way to change the plot title from
unique_id=ts_0
. Am I missing something obvious?
j
Hey. You can do something like the following:
Copy code
fig, ax = plt.subplots()
NixtlaClient.plot(..., ax=ax)
ax.set_title('My nice title')
1
j
@José Morales thanks! That helped, but it now looks like there is no way to turn off the nixtal legend?
Copy code
fig, ax = plt.subplots()
nixtla_client.plot(monthly_cves, timegpt_fcst_df, time_col='Month', target_col='CVEs', ax=ax)
ax.set_title('CVEs');
fig.set_size_inches(12, 2)
ax.legend(loc='upper right');
ax.set_xlabel('Date');
ax.set_ylabel('Published CVEs');
fig