提交 60e30dc4 编写于 作者: 秦英杰

fix:图形相关

上级 5507acaa
...@@ -4,13 +4,11 @@ ...@@ -4,13 +4,11 @@
<option name="autoReloadType" value="SELECTIVE" /> <option name="autoReloadType" value="SELECTIVE" />
</component> </component>
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="a58667c7-f41c-4f13-881e-dc86f57d3cdc" name="Changes" comment="fix:python扩展模块"> <list default="true" id="a58667c7-f41c-4f13-881e-dc86f57d3cdc" name="Changes" comment="fix:图形处理">
<change afterPath="$PROJECT_DIR$/09_可视化案例/11_GDP动态柱状图开发.py" afterDir="false" /> <change beforePath="$PROJECT_DIR$/09_可视化案例/11_GDP动态柱状图开发.py" beforeDir="false" afterPath="$PROJECT_DIR$/09_可视化案例/11_GDP动态柱状图开发.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/09_可视化案例/12_测试颜色.py" beforeDir="false" afterPath="$PROJECT_DIR$/09_可视化案例/12_测试颜色.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/09_可视化案例/02_pyecharts基础入门.py" beforeDir="false" afterPath="$PROJECT_DIR$/09_可视化案例/02_pyecharts基础入门.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/09_可视化案例/11_csdn红包累计金额排名.py" beforeDir="false" afterPath="$PROJECT_DIR$/09_可视化案例/13_csdn红包累计金额排名.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/09_可视化案例/1960-2019全球GDP前8国家.html" beforeDir="false" afterPath="$PROJECT_DIR$/09_可视化案例/1960-2019全球GDP前8国家.html" afterDir="false" /> <change beforePath="$PROJECT_DIR$/09_可视化案例/1960-2019全球GDP前8国家.html" beforeDir="false" afterPath="$PROJECT_DIR$/09_可视化案例/1960-2019全球GDP前8国家.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/09_可视化案例/GDP展示.html" beforeDir="false" /> <change beforePath="$PROJECT_DIR$/09_可视化案例/颜色测试.html" beforeDir="false" afterPath="$PROJECT_DIR$/09_可视化案例/颜色测试.html" afterDir="false" />
</list> </list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_CONFLICTS" value="true" />
...@@ -85,6 +83,7 @@ ...@@ -85,6 +83,7 @@
"Python.12_二维表格.executor": "Debug", "Python.12_二维表格.executor": "Debug",
"Python.12_字典.executor": "Debug", "Python.12_字典.executor": "Debug",
"Python.12_循环中断.executor": "Debug", "Python.12_循环中断.executor": "Debug",
"Python.12_测试颜色.executor": "Debug",
"Python.12_集合课后练习.executor": "Debug", "Python.12_集合课后练习.executor": "Debug",
"Python.13_全局修改.executor": "Debug", "Python.13_全局修改.executor": "Debug",
"Python.13_字典的常用操作.executor": "Debug", "Python.13_字典的常用操作.executor": "Debug",
...@@ -126,7 +125,7 @@ ...@@ -126,7 +125,7 @@
<recent name="$PROJECT_DIR$/06_数据容器/02-元组" /> <recent name="$PROJECT_DIR$/06_数据容器/02-元组" />
</key> </key>
</component> </component>
<component name="RunManager" selected="Python.11_GDP动态柱状图开发"> <component name="RunManager" selected="Python.12_测试颜色">
<configuration name="01_json数据格式" type="PythonConfigurationType" factoryName="Python" temporary="true" nameIsGenerated="true"> <configuration name="01_json数据格式" type="PythonConfigurationType" factoryName="Python" temporary="true" nameIsGenerated="true">
<module name="python-demo" /> <module name="python-demo" />
<option name="ENV_FILES" value="" /> <option name="ENV_FILES" value="" />
...@@ -173,7 +172,7 @@ ...@@ -173,7 +172,7 @@
<option name="INPUT_FILE" value="" /> <option name="INPUT_FILE" value="" />
<method v="2" /> <method v="2" />
</configuration> </configuration>
<configuration name="10_扩展_os" type="PythonConfigurationType" factoryName="Python" temporary="true" nameIsGenerated="true"> <configuration name="11_GDP动态柱状图开发" type="PythonConfigurationType" factoryName="Python" temporary="true" nameIsGenerated="true">
<module name="python-demo" /> <module name="python-demo" />
<option name="ENV_FILES" value="" /> <option name="ENV_FILES" value="" />
<option name="INTERPRETER_OPTIONS" value="" /> <option name="INTERPRETER_OPTIONS" value="" />
...@@ -182,12 +181,12 @@ ...@@ -182,12 +181,12 @@
<env name="PYTHONUNBUFFERED" value="1" /> <env name="PYTHONUNBUFFERED" value="1" />
</envs> </envs>
<option name="SDK_HOME" value="" /> <option name="SDK_HOME" value="" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/08_异常_模块_包" /> <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/09_可视化案例" />
<option name="IS_MODULE_SDK" value="true" /> <option name="IS_MODULE_SDK" value="true" />
<option name="ADD_CONTENT_ROOTS" value="true" /> <option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" /> <option name="ADD_SOURCE_ROOTS" value="true" />
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" /> <EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/08_异常_模块_包/10_扩展_os.py" /> <option name="SCRIPT_NAME" value="$PROJECT_DIR$/09_可视化案例/11_GDP动态柱状图开发.py" />
<option name="PARAMETERS" value="" /> <option name="PARAMETERS" value="" />
<option name="SHOW_COMMAND_LINE" value="false" /> <option name="SHOW_COMMAND_LINE" value="false" />
<option name="EMULATE_TERMINAL" value="false" /> <option name="EMULATE_TERMINAL" value="false" />
...@@ -196,7 +195,7 @@ ...@@ -196,7 +195,7 @@
<option name="INPUT_FILE" value="" /> <option name="INPUT_FILE" value="" />
<method v="2" /> <method v="2" />
</configuration> </configuration>
<configuration name="11_GDP动态柱状图开发" type="PythonConfigurationType" factoryName="Python" temporary="true" nameIsGenerated="true"> <configuration name="11_扩展_sys" type="PythonConfigurationType" factoryName="Python" temporary="true" nameIsGenerated="true">
<module name="python-demo" /> <module name="python-demo" />
<option name="ENV_FILES" value="" /> <option name="ENV_FILES" value="" />
<option name="INTERPRETER_OPTIONS" value="" /> <option name="INTERPRETER_OPTIONS" value="" />
...@@ -205,12 +204,12 @@ ...@@ -205,12 +204,12 @@
<env name="PYTHONUNBUFFERED" value="1" /> <env name="PYTHONUNBUFFERED" value="1" />
</envs> </envs>
<option name="SDK_HOME" value="" /> <option name="SDK_HOME" value="" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/09_可视化案例" /> <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/08_异常_模块_包" />
<option name="IS_MODULE_SDK" value="true" /> <option name="IS_MODULE_SDK" value="true" />
<option name="ADD_CONTENT_ROOTS" value="true" /> <option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" /> <option name="ADD_SOURCE_ROOTS" value="true" />
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" /> <EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/09_可视化案例/11_GDP动态柱状图开发.py" /> <option name="SCRIPT_NAME" value="$PROJECT_DIR$/08_异常_模块_包/11_扩展_sys.py" />
<option name="PARAMETERS" value="" /> <option name="PARAMETERS" value="" />
<option name="SHOW_COMMAND_LINE" value="false" /> <option name="SHOW_COMMAND_LINE" value="false" />
<option name="EMULATE_TERMINAL" value="false" /> <option name="EMULATE_TERMINAL" value="false" />
...@@ -219,7 +218,7 @@ ...@@ -219,7 +218,7 @@
<option name="INPUT_FILE" value="" /> <option name="INPUT_FILE" value="" />
<method v="2" /> <method v="2" />
</configuration> </configuration>
<configuration name="11_扩展_sys" type="PythonConfigurationType" factoryName="Python" temporary="true" nameIsGenerated="true"> <configuration name="12_测试颜色" type="PythonConfigurationType" factoryName="Python" temporary="true" nameIsGenerated="true">
<module name="python-demo" /> <module name="python-demo" />
<option name="ENV_FILES" value="" /> <option name="ENV_FILES" value="" />
<option name="INTERPRETER_OPTIONS" value="" /> <option name="INTERPRETER_OPTIONS" value="" />
...@@ -228,12 +227,12 @@ ...@@ -228,12 +227,12 @@
<env name="PYTHONUNBUFFERED" value="1" /> <env name="PYTHONUNBUFFERED" value="1" />
</envs> </envs>
<option name="SDK_HOME" value="" /> <option name="SDK_HOME" value="" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/08_异常_模块_包" /> <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/09_可视化案例" />
<option name="IS_MODULE_SDK" value="true" /> <option name="IS_MODULE_SDK" value="true" />
<option name="ADD_CONTENT_ROOTS" value="true" /> <option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" /> <option name="ADD_SOURCE_ROOTS" value="true" />
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" /> <EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/08_异常_模块_包/11_扩展_sys.py" /> <option name="SCRIPT_NAME" value="$PROJECT_DIR$/09_可视化案例/12_测试颜色.py" />
<option name="PARAMETERS" value="" /> <option name="PARAMETERS" value="" />
<option name="SHOW_COMMAND_LINE" value="false" /> <option name="SHOW_COMMAND_LINE" value="false" />
<option name="EMULATE_TERMINAL" value="false" /> <option name="EMULATE_TERMINAL" value="false" />
...@@ -244,11 +243,11 @@ ...@@ -244,11 +243,11 @@
</configuration> </configuration>
<recent_temporary> <recent_temporary>
<list> <list>
<item itemvalue="Python.12_测试颜色" />
<item itemvalue="Python.11_GDP动态柱状图开发" /> <item itemvalue="Python.11_GDP动态柱状图开发" />
<item itemvalue="Python.02_pyecharts基础入门" /> <item itemvalue="Python.02_pyecharts基础入门" />
<item itemvalue="Python.01_json数据格式" /> <item itemvalue="Python.01_json数据格式" />
<item itemvalue="Python.11_扩展_sys" /> <item itemvalue="Python.11_扩展_sys" />
<item itemvalue="Python.10_扩展_os" />
</list> </list>
</recent_temporary> </recent_temporary>
</component> </component>
...@@ -285,7 +284,7 @@ ...@@ -285,7 +284,7 @@
<workItem from="1723172814421" duration="597000" /> <workItem from="1723172814421" duration="597000" />
<workItem from="1723384402969" duration="2627000" /> <workItem from="1723384402969" duration="2627000" />
<workItem from="1723515969381" duration="2539000" /> <workItem from="1723515969381" duration="2539000" />
<workItem from="1723604005437" duration="2829000" /> <workItem from="1723604005437" duration="4042000" />
</task> </task>
<task id="LOCAL-00001" summary="fix:基础语法"> <task id="LOCAL-00001" summary="fix:基础语法">
<option name="closed" value="true" /> <option name="closed" value="true" />
...@@ -399,7 +398,15 @@ ...@@ -399,7 +398,15 @@
<option name="project" value="LOCAL" /> <option name="project" value="LOCAL" />
<updated>1723518447733</updated> <updated>1723518447733</updated>
</task> </task>
<option name="localTasksCounter" value="15" /> <task id="LOCAL-00015" summary="fix:图形处理">
<option name="closed" value="true" />
<created>1723606844887</created>
<option name="number" value="00015" />
<option name="presentableId" value="LOCAL-00015" />
<option name="project" value="LOCAL" />
<updated>1723606844887</updated>
</task>
<option name="localTasksCounter" value="16" />
<servers /> <servers />
</component> </component>
<component name="TypeScriptGeneratedFilesManager"> <component name="TypeScriptGeneratedFilesManager">
...@@ -417,7 +424,8 @@ ...@@ -417,7 +424,8 @@
<MESSAGE value="fix:数据容器" /> <MESSAGE value="fix:数据容器" />
<MESSAGE value="fix:切片" /> <MESSAGE value="fix:切片" />
<MESSAGE value="fix:python扩展模块" /> <MESSAGE value="fix:python扩展模块" />
<option name="LAST_COMMIT_MESSAGE" value="fix:python扩展模块" /> <MESSAGE value="fix:图形处理" />
<option name="LAST_COMMIT_MESSAGE" value="fix:图形处理" />
</component> </component>
<component name="XDebuggerManager"> <component name="XDebuggerManager">
<breakpoint-manager> <breakpoint-manager>
...@@ -445,7 +453,7 @@ ...@@ -445,7 +453,7 @@
<SUITE FILE_PATH="coverage/python_demo$test.coverage" NAME="test Coverage Results" MODIFIED="1722357540717" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/06_数据容器/01-列表" /> <SUITE FILE_PATH="coverage/python_demo$test.coverage" NAME="test Coverage Results" MODIFIED="1722357540717" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/06_数据容器/01-列表" />
<SUITE FILE_PATH="coverage/python_demo$09__random_07.coverage" NAME="09_扩展_random_07 Coverage Results" MODIFIED="1723518352125" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/08_异常_模块_包" /> <SUITE FILE_PATH="coverage/python_demo$09__random_07.coverage" NAME="09_扩展_random_07 Coverage Results" MODIFIED="1723518352125" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/08_异常_模块_包" />
<SUITE FILE_PATH="coverage/python_demo$08_range.coverage" NAME="08_range语句 Coverage Results" MODIFIED="1721556367543" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/03_Python循环语句" /> <SUITE FILE_PATH="coverage/python_demo$08_range.coverage" NAME="08_range语句 Coverage Results" MODIFIED="1721556367543" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/03_Python循环语句" />
<SUITE FILE_PATH="coverage/python_demo$12_.coverage" NAME="12_字典 Coverage Results" MODIFIED="1722349111768" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/06_数据容器/05-字典" /> <SUITE FILE_PATH="coverage/python_demo$12_.coverage" NAME="12_测试颜色 Coverage Results" MODIFIED="1723613583898" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/09_可视化案例" />
<SUITE FILE_PATH="coverage/python_demo$03_while_.coverage" NAME="03_while循环的基础案例-猜数字 Coverage Results" MODIFIED="1721555570203" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/03_Python循环语句" /> <SUITE FILE_PATH="coverage/python_demo$03_while_.coverage" NAME="03_while循环的基础案例-猜数字 Coverage Results" MODIFIED="1721555570203" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/03_Python循环语句" />
<SUITE FILE_PATH="coverage/python_demo$09__random_04.coverage" NAME="09_扩展_random_04 Coverage Results" MODIFIED="1723517116141" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/08_异常_模块_包" /> <SUITE FILE_PATH="coverage/python_demo$09__random_04.coverage" NAME="09_扩展_random_04 Coverage Results" MODIFIED="1723517116141" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/08_异常_模块_包" />
<SUITE FILE_PATH="coverage/python_demo$02_pyecharts.coverage" NAME="02_pyecharts基础入门 Coverage Results" MODIFIED="1723604423923" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/09_可视化案例" /> <SUITE FILE_PATH="coverage/python_demo$02_pyecharts.coverage" NAME="02_pyecharts基础入门 Coverage Results" MODIFIED="1723604423923" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/09_可视化案例" />
...@@ -472,7 +480,7 @@ ...@@ -472,7 +480,7 @@
<SUITE FILE_PATH="coverage/python_demo$16_.coverage" NAME="16_字符串大小比较 Coverage Results" MODIFIED="1722347348048" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/06_数据容器/02-字符串" /> <SUITE FILE_PATH="coverage/python_demo$16_.coverage" NAME="16_字符串大小比较 Coverage Results" MODIFIED="1722347348048" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/06_数据容器/02-字符串" />
<SUITE FILE_PATH="coverage/python_demo$test_03.coverage" NAME="test_03 Coverage Results" MODIFIED="1722331784529" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/05_函数进阶" /> <SUITE FILE_PATH="coverage/python_demo$test_03.coverage" NAME="test_03 Coverage Results" MODIFIED="1722331784529" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/05_函数进阶" />
<SUITE FILE_PATH="coverage/python_demo$11__sys.coverage" NAME="11_扩展_sys Coverage Results" MODIFIED="1723518427522" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/08_异常_模块_包" /> <SUITE FILE_PATH="coverage/python_demo$11__sys.coverage" NAME="11_扩展_sys Coverage Results" MODIFIED="1723518427522" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/08_异常_模块_包" />
<SUITE FILE_PATH="coverage/python_demo$11_GDP.coverage" NAME="11_GDP动态柱状图开发 Coverage Results" MODIFIED="1723606785514" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/09_可视化案例" /> <SUITE FILE_PATH="coverage/python_demo$11_GDP.coverage" NAME="11_GDP动态柱状图开发 Coverage Results" MODIFIED="1723607065005" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/09_可视化案例" />
<SUITE FILE_PATH="coverage/python_demo$11_.coverage" NAME="11_集合课后练习 Coverage Results" MODIFIED="1722348874600" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/06_数据容器/04-集合" /> <SUITE FILE_PATH="coverage/python_demo$11_.coverage" NAME="11_集合课后练习 Coverage Results" MODIFIED="1722348874600" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/06_数据容器/04-集合" />
</component> </component>
</project> </project>
\ No newline at end of file
...@@ -51,20 +51,14 @@ for year in sorted_year_list: ...@@ -51,20 +51,14 @@ for year in sorted_year_list:
label_opts=opts.LabelOpts(position="right", font_size="15px"), label_opts=opts.LabelOpts(position="right", font_size="15px"),
# itemstyle_opts=opts.ItemStyleOpts(color=colors[:len(y_data)]), # itemstyle_opts=opts.ItemStyleOpts(color=colors[:len(y_data)]),
) )
# for i in range(len(x_data)):
# bar.add_xaxis([x_data[i]])
# bar.add_yaxis(
# "GDP(亿)",
# [y_data[i]],
# label_opts=opts.LabelOpts(position="right"),
# itemstyle_opts=opts.ItemStyleOpts(color=colors[i % len(colors)])
# )
# 反转x轴和y轴 # 反转x轴和y轴
bar.reversal_axis() bar.reversal_axis()
# 设置每一年的图表的标题 # 设置每一年的图表的标题
bar.set_global_opts( bar.set_global_opts(
title_opts=opts.TitleOpts(title=f"{year}年全球前8GDP数据") title_opts=opts.TitleOpts(title=f"{year}年全球前8GDP数据"),
xaxis_opts=opts.AxisOpts(axislabel_opts=opts.LabelOpts(font_size=12)),
yaxis_opts=opts.AxisOpts(axislabel_opts=opts.LabelOpts(font_size=12)),
) )
timeline.add(bar, str(year)) timeline.add(bar, str(year))
......
...@@ -45,7 +45,7 @@ for year in sorted_year_list: ...@@ -45,7 +45,7 @@ for year in sorted_year_list:
x_data.reverse() x_data.reverse()
y_data.reverse() y_data.reverse()
bar.add_xaxis(x_data) bar.add_xaxis(x_data)
colors=['rgba(128, 128, 128, 0.5)'] colors = ['rgba(128, 128, 128, 0.5)']
# colors=['rgba(128, 128, 128, 0.5)','red','red','red','red','red','red','red'] # colors=['rgba(128, 128, 128, 0.5)','red','red','red','red','red','red','red']
bar.add_yaxis("红包数据", y_data bar.add_yaxis("红包数据", y_data
, itemstyle_opts=opts.ItemStyleOpts( , itemstyle_opts=opts.ItemStyleOpts(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册