How to add label information of each part in pycharts pie chart

from pyecharts import Pie

attr = ["2dlots," 3d"]
v1 = [12,5]
pie = Pie ("Chinese 2017 movie visual type ratio", title_pos="left",title_text_size=15,width=1000,height=350)
pie.add (", attr,v1,center= [50,60], radius= [0,80], is_label_show=True,is_random=True)
pie.render ("Chinese 2017 movie visual type ratio .html")

as shown in figure
A simple pie chart example. Now if you want to move the mouse over the 2d or 3D part of the pie chart, it will display more tag information, such as 3D type movies, 2d type movies
how to add these tag information


echarts test code http://echarts.baidu.com/exam.

option = {
    title : {
        text: '',
        subtext: '',
        x:'center'
    },
    tooltip : {
        trigger: 'item',
        // formatter: "{a} <br/>{b} : {c} ({d}%)"
        formatter:function(params){
                   
                    params.data.name
                    console.log(params)
                   
                    return params.data.name + "1231231231231    " + params.percent +"%"
                }
    },
    legend: {
        orient: 'vertical',
        left: 'left',
        data: ['','','','','']
    },
    series : [
        {
            name: '',
            type: 'pie',
            radius : '55%',
            center: ['50%', '60%'],
            data:[
                {value:335, name:''},
                {value:310, name:''},
                {value:234, name:''},
                {value:135, name:''},
                {value:1548, name:''}
            ],
            itemStyle: {
              
                emphasis: {
                    shadowBlur: 10,
                    shadowOffsetX: 0,
                    shadowColor: 'rgba(0, 0, 0, 0.5)'
                }
            }
        }
    ]
};

you can try to find formatter. I can't find it. Please let me know. Thank you

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b356e2-2bf76.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b356e2-2bf76.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?