save_report formatting not working #396
Answered
by
spookylukey
paulhighams
asked this question in
Help
-
Summarysave_report works until I add a formatting section then it errors, saying datapane has no attribute 'Formatting'. I have used the exact formatting section given in the datapane documentation Additional informationformatting=dp.Formatting(light_prose=False,
accent_color="orange",
bg_color="#EEE",
text_alignment=dp.TextAlignment.LEFT,
font=dp.FontChoice.MONOSPACE,
width=dp.Width.FULL,)
Error Message:
formatting=dp.Formatting(light_prose=False,
AttributeError: module 'datapane' has no attribute 'Formatting' ExampleNo response |
Beta Was this translation helpful? Give feedback.
Answered by
spookylukey
Aug 25, 2023
Replies: 1 comment 1 reply
-
Which datapane version are you using? The docs usually follow the most recent released version, which is 0.16.7 from PyPI - https://pypi.org/project/datapane/ I tried the example on this page: https://docs.datapane.com/reports/styling/ and it worked correctly with that version of datapane. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
paulhighams
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Which datapane version are you using? The docs usually follow the most recent released version, which is 0.16.7 from PyPI - https://pypi.org/project/datapane/
I tried the example on this page: https://docs.datapane.com/reports/styling/ and it worked correctly with that version of datapane.