Skip to content

TypeError: Markdown.__init__() got an unexpected keyword argument 'style' #9

@scottyhq

Description

@scottyhq

I'm running into this error running the Grimp NSIDCLoginNotebook. Not sure why it was working before, but if you change the panel Markdown to yes styles= instead of style= it works

return pn.pane.Markdown(self.msg, style=self.style)
def error(self):
'''Check login status and print an appropriate message '''
# self.updateStatusMessage()
return pn.pane.Markdown(self.errorMsg, style={'color': 'red'},

ref: https://panel.holoviz.org/reference/panes/Markdown.html#style

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions