Skip to content

Ploty image.save.as can't complete display Chinese #1106

Closed
@Bloomberg-zhong

Description

@Bloomberg-zhong

when i use plotly func
plotly.plotly.image.save_as(self.fig, filename=filepath + '.png')

there is problem,it cannot complete display ,not only Traditional-Chinese but also Simplified -Chinese,and Simplified -Chinese is more serious, i think the problem is on unicode,but i can't find where to change it .

plotly.plotly.image.save_as(self.fig, filename=filepath + '.png')
self.fig['layout']['yaxis4']['title'] = '客戶數'
self.fig['layout']['yaxis4']['titlefont'] = dict(size=11)
self.fig['layout']['yaxis5']['title'] = '客戶勝率'
self.fig['layout']['yaxis5']['titlefont'] = dict(size=11)

promble

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsomething broken

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions