You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you combine the 'presentation' template with another template using the plus-sign (+) composition syntax, the presentation template will change the colors of points, lines, and other traces that are defined in the other template.
plotly==4.1.1
Expected behavior
The 'presentation' template should only change the size of text, points, and lines. It should not change the colors.
Reprex
import plotly.express as px
iris = px.data.iris()
# Colors correctly follow the 'plotly_dark' theme
dark_plt = px.scatter(iris, x='sepal_length', y='sepal_width', color='species', template='plotly_dark')
dark_plt.show()
# 'presentation' template changes colors from 'plotly_dark' theme when it shouldn't
dark_pres_plt = px.scatter(iris, x='sepal_length', y='sepal_width', color='species', template='plotly_dark+presentation')
dark_pres_plt.show()
The text was updated successfully, but these errors were encountered:
Issue
If you combine the 'presentation' template with another template using the plus-sign (+) composition syntax, the presentation template will change the colors of points, lines, and other traces that are defined in the other template.
Expected behavior
The 'presentation' template should only change the size of text, points, and lines. It should not change the colors.
Reprex
The text was updated successfully, but these errors were encountered: