Skip to content

How to make chart template for use with different data sources #2826

Answered by joelostblom
mcp292 asked this question in Q&A
Discussion options

You must be logged in to vote

You can either use the properties method:

template.properties(data=df1)

Or directly modify the object

template['data'] = df1
template

The first would likely be to prefer in most cases since it uses a method rather than changing the object manually

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mcp292
Comment options

Answer selected by mcp292
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants