提交 5507acaa 编写于 作者: 秦英杰

fix:图形处理

上级 c20d6f4c
...@@ -4,30 +4,13 @@ ...@@ -4,30 +4,13 @@
<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:切片"> <list default="true" id="a58667c7-f41c-4f13-881e-dc86f57d3cdc" name="Changes" comment="fix:python扩展模块">
<change afterPath="$PROJECT_DIR$/.idea/modules.xml" afterDir="false" /> <change afterPath="$PROJECT_DIR$/09_可视化案例/11_GDP动态柱状图开发.py" afterDir="false" />
<change afterPath="$PROJECT_DIR$/08_异常_模块_包/09_扩展_random_01.py" afterDir="false" />
<change afterPath="$PROJECT_DIR$/08_异常_模块_包/09_扩展_random_02.py" afterDir="false" />
<change afterPath="$PROJECT_DIR$/08_异常_模块_包/09_扩展_random_03.py" afterDir="false" />
<change afterPath="$PROJECT_DIR$/08_异常_模块_包/09_扩展_random_04.py" afterDir="false" />
<change afterPath="$PROJECT_DIR$/08_异常_模块_包/09_扩展_random_05.py" afterDir="false" />
<change afterPath="$PROJECT_DIR$/08_异常_模块_包/09_扩展_random_06.py" afterDir="false" />
<change afterPath="$PROJECT_DIR$/08_异常_模块_包/09_扩展_random_07.py" afterDir="false" />
<change afterPath="$PROJECT_DIR$/08_异常_模块_包/10_扩展_os.py" afterDir="false" />
<change afterPath="$PROJECT_DIR$/08_异常_模块_包/11_扩展_sys.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/python-demo.iml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/python-demo.iml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/07_文件操作/01_文件的读取.py" beforeDir="false" afterPath="$PROJECT_DIR$/07_文件操作/01_文件的读取.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$/07_文件操作/02_文件读取的课后练习.py" beforeDir="false" afterPath="$PROJECT_DIR$/07_文件操作/02_文件读取的课后练习.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$/07_文件操作/03_文件的写入.py" beforeDir="false" afterPath="$PROJECT_DIR$/07_文件操作/03_文件的写入.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$/07_文件操作/04_文件的追加写入.py" beforeDir="false" afterPath="$PROJECT_DIR$/07_文件操作/04_文件的追加写入.py" afterDir="false" /> <change beforePath="$PROJECT_DIR$/09_可视化案例/GDP展示.html" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/07_文件操作/05_文件操作的综合案例.py" beforeDir="false" afterPath="$PROJECT_DIR$/07_文件操作/05_文件操作的综合案例.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/08_异常_模块_包/03_异常的传递.py" beforeDir="false" afterPath="$PROJECT_DIR$/08_异常_模块_包/03_异常的传递.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/08_异常_模块_包/06_包.py" beforeDir="false" afterPath="$PROJECT_DIR$/08_异常_模块_包/06_包.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/08_异常_模块_包/07_综合案例练习.py" beforeDir="false" afterPath="$PROJECT_DIR$/08_异常_模块_包/07_综合案例练习.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/08_异常_模块_包/08_扩展_Python常用模块功能.py" beforeDir="false" afterPath="$PROJECT_DIR$/08_异常_模块_包/08_扩展_time.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/my_package/my_module1.py" beforeDir="false" afterPath="$PROJECT_DIR$/my_package/my_module1.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/my_utils/file_util.py" beforeDir="false" afterPath="$PROJECT_DIR$/my_utils/file_util.py" 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" />
...@@ -51,6 +34,7 @@ ...@@ -51,6 +34,7 @@
</component> </component>
<component name="PropertiesComponent"><![CDATA[{ <component name="PropertiesComponent"><![CDATA[{
"keyToString": { "keyToString": {
"Python.01_json数据格式.executor": "Debug",
"Python.01_list列表.executor": "Debug", "Python.01_list列表.executor": "Debug",
"Python.01_list删除.executor": "Debug", "Python.01_list删除.executor": "Debug",
"Python.01_while循环练习题_求1-100的和.executor": "Debug", "Python.01_while循环练习题_求1-100的和.executor": "Debug",
...@@ -58,6 +42,7 @@ ...@@ -58,6 +42,7 @@
"Python.01_文件的读取.executor": "Debug", "Python.01_文件的读取.executor": "Debug",
"Python.01_演示异常的出现.executor": "Debug", "Python.01_演示异常的出现.executor": "Debug",
"Python.02_list列表的常用操作.executor": "Debug", "Python.02_list列表的常用操作.executor": "Debug",
"Python.02_pyecharts基础入门.executor": "Debug",
"Python.02_列表的取值.executor": "Debug", "Python.02_列表的取值.executor": "Debug",
"Python.02_序列切片课后练习.executor": "Debug", "Python.02_序列切片课后练习.executor": "Debug",
"Python.02_文件读取的课后练习.executor": "Debug", "Python.02_文件读取的课后练习.executor": "Debug",
...@@ -87,12 +72,15 @@ ...@@ -87,12 +72,15 @@
"Python.09_扩展_random_04.executor": "Debug", "Python.09_扩展_random_04.executor": "Debug",
"Python.09_扩展_random_05.executor": "Debug", "Python.09_扩展_random_05.executor": "Debug",
"Python.09_扩展_random_06.executor": "Debug", "Python.09_扩展_random_06.executor": "Debug",
"Python.09_扩展_random_07.executor": "Run", "Python.09_扩展_random_07.executor": "Debug",
"Python.10_for循环打印九九乘法表.executor": "Debug", "Python.10_for循环打印九九乘法表.executor": "Debug",
"Python.10_变量的作用域.executor": "Debug", "Python.10_变量的作用域.executor": "Debug",
"Python.10_局部变量.executor": "Debug", "Python.10_局部变量.executor": "Debug",
"Python.10_扩展_os.executor": "Debug",
"Python.10_集合.executor": "Debug", "Python.10_集合.executor": "Debug",
"Python.11_GDP动态柱状图开发.executor": "Debug",
"Python.11_局部变量.executor": "Debug", "Python.11_局部变量.executor": "Debug",
"Python.11_扩展_sys.executor": "Debug",
"Python.11_集合课后练习.executor": "Debug", "Python.11_集合课后练习.executor": "Debug",
"Python.12_二维表格.executor": "Debug", "Python.12_二维表格.executor": "Debug",
"Python.12_字典.executor": "Debug", "Python.12_字典.executor": "Debug",
...@@ -112,7 +100,7 @@ ...@@ -112,7 +100,7 @@
"SHARE_PROJECT_CONFIGURATION_FILES": "true", "SHARE_PROJECT_CONFIGURATION_FILES": "true",
"git-widget-placeholder": "main", "git-widget-placeholder": "main",
"ignore_missing_gitignore": "true", "ignore_missing_gitignore": "true",
"last_opened_file_path": "/Users/qinyingjie/Documents/python-workspace/python-demo/08_异常_模块_包", "last_opened_file_path": "/Users/qinyingjie/Documents/python-workspace/python-demo/09_可视化案例",
"node.js.detected.package.eslint": "true", "node.js.detected.package.eslint": "true",
"node.js.detected.package.tslint": "true", "node.js.detected.package.tslint": "true",
"node.js.selected.package.eslint": "(autodetect)", "node.js.selected.package.eslint": "(autodetect)",
...@@ -124,11 +112,11 @@ ...@@ -124,11 +112,11 @@
}]]></component> }]]></component>
<component name="RecentsManager"> <component name="RecentsManager">
<key name="CopyFile.RECENT_KEYS"> <key name="CopyFile.RECENT_KEYS">
<recent name="$PROJECT_DIR$/09_可视化案例" />
<recent name="$PROJECT_DIR$/08_异常_模块_包" /> <recent name="$PROJECT_DIR$/08_异常_模块_包" />
<recent name="$PROJECT_DIR$/06_数据容器/02-字符串" /> <recent name="$PROJECT_DIR$/06_数据容器/02-字符串" />
<recent name="$PROJECT_DIR$/06_数据容器/01-列表" /> <recent name="$PROJECT_DIR$/06_数据容器/01-列表" />
<recent name="$PROJECT_DIR$/06_数据容器/04-集合" /> <recent name="$PROJECT_DIR$/06_数据容器/04-集合" />
<recent name="$PROJECT_DIR$/05_函数进阶" />
</key> </key>
<key name="MoveFile.RECENT_KEYS"> <key name="MoveFile.RECENT_KEYS">
<recent name="$PROJECT_DIR$/06_数据容器/01-列表" /> <recent name="$PROJECT_DIR$/06_数据容器/01-列表" />
...@@ -138,8 +126,8 @@ ...@@ -138,8 +126,8 @@
<recent name="$PROJECT_DIR$/06_数据容器/02-元组" /> <recent name="$PROJECT_DIR$/06_数据容器/02-元组" />
</key> </key>
</component> </component>
<component name="RunManager" selected="Python.11_扩展_sys"> <component name="RunManager" selected="Python.11_GDP动态柱状图开发">
<configuration name="03_文件的写入" 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="" />
<option name="INTERPRETER_OPTIONS" value="" /> <option name="INTERPRETER_OPTIONS" value="" />
...@@ -148,12 +136,12 @@ ...@@ -148,12 +136,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$/07_文件操作" /> <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$/07_文件操作/03_文件的写入.py" /> <option name="SCRIPT_NAME" value="$PROJECT_DIR$/09_可视化案例/01_json数据格式.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" />
...@@ -162,7 +150,7 @@ ...@@ -162,7 +150,7 @@
<option name="INPUT_FILE" value="" /> <option name="INPUT_FILE" value="" />
<method v="2" /> <method v="2" />
</configuration> </configuration>
<configuration name="09_扩展_random_05" type="PythonConfigurationType" factoryName="Python" temporary="true" nameIsGenerated="true"> <configuration name="02_pyecharts基础入门" 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="" />
...@@ -171,35 +159,12 @@ ...@@ -171,35 +159,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="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" />
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/08_异常_模块_包/09_扩展_random_05.py" />
<option name="PARAMETERS" value="" />
<option name="SHOW_COMMAND_LINE" value="false" />
<option name="EMULATE_TERMINAL" value="false" />
<option name="MODULE_MODE" value="false" />
<option name="REDIRECT_INPUT" value="false" />
<option name="INPUT_FILE" value="" />
<method v="2" />
</configuration>
<configuration name="09_扩展_random_06" type="PythonConfigurationType" factoryName="Python" temporary="true" nameIsGenerated="true">
<module name="python-demo" />
<option name="ENV_FILES" value="" />
<option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" />
<envs>
<env name="PYTHONUNBUFFERED" value="1" />
</envs>
<option name="SDK_HOME" value="" />
<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$/08_异常_模块_包/09_扩展_random_06.py" /> <option name="SCRIPT_NAME" value="$PROJECT_DIR$/09_可视化案例/02_pyecharts基础入门.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" />
...@@ -208,7 +173,7 @@ ...@@ -208,7 +173,7 @@
<option name="INPUT_FILE" value="" /> <option name="INPUT_FILE" value="" />
<method v="2" /> <method v="2" />
</configuration> </configuration>
<configuration name="09_扩展_random_07" type="PythonConfigurationType" factoryName="Python" temporary="true" nameIsGenerated="true"> <configuration name="10_扩展_os" 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="" />
...@@ -222,7 +187,7 @@ ...@@ -222,7 +187,7 @@
<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_异常_模块_包/09_扩展_random_07.py" /> <option name="SCRIPT_NAME" value="$PROJECT_DIR$/08_异常_模块_包/10_扩展_os.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" />
...@@ -231,7 +196,7 @@ ...@@ -231,7 +196,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="" />
...@@ -240,12 +205,12 @@ ...@@ -240,12 +205,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" />
...@@ -279,11 +244,11 @@ ...@@ -279,11 +244,11 @@
</configuration> </configuration>
<recent_temporary> <recent_temporary>
<list> <list>
<item itemvalue="Python.11_GDP动态柱状图开发" />
<item itemvalue="Python.02_pyecharts基础入门" />
<item itemvalue="Python.01_json数据格式" />
<item itemvalue="Python.11_扩展_sys" /> <item itemvalue="Python.11_扩展_sys" />
<item itemvalue="Python.10_扩展_os" /> <item itemvalue="Python.10_扩展_os" />
<item itemvalue="Python.09_扩展_random_07" />
<item itemvalue="Python.09_扩展_random_06" />
<item itemvalue="Python.09_扩展_random_05" />
</list> </list>
</recent_temporary> </recent_temporary>
</component> </component>
...@@ -319,7 +284,8 @@ ...@@ -319,7 +284,8 @@
<workItem from="1723166206959" duration="601000" /> <workItem from="1723166206959" duration="601000" />
<workItem from="1723172814421" duration="597000" /> <workItem from="1723172814421" duration="597000" />
<workItem from="1723384402969" duration="2627000" /> <workItem from="1723384402969" duration="2627000" />
<workItem from="1723515969381" duration="2289000" /> <workItem from="1723515969381" duration="2539000" />
<workItem from="1723604005437" duration="2829000" />
</task> </task>
<task id="LOCAL-00001" summary="fix:基础语法"> <task id="LOCAL-00001" summary="fix:基础语法">
<option name="closed" value="true" /> <option name="closed" value="true" />
...@@ -425,7 +391,15 @@ ...@@ -425,7 +391,15 @@
<option name="project" value="LOCAL" /> <option name="project" value="LOCAL" />
<updated>1723125289181</updated> <updated>1723125289181</updated>
</task> </task>
<option name="localTasksCounter" value="14" /> <task id="LOCAL-00014" summary="fix:python扩展模块">
<option name="closed" value="true" />
<created>1723518447733</created>
<option name="number" value="00014" />
<option name="presentableId" value="LOCAL-00014" />
<option name="project" value="LOCAL" />
<updated>1723518447733</updated>
</task>
<option name="localTasksCounter" value="15" />
<servers /> <servers />
</component> </component>
<component name="TypeScriptGeneratedFilesManager"> <component name="TypeScriptGeneratedFilesManager">
...@@ -442,7 +416,8 @@ ...@@ -442,7 +416,8 @@
<MESSAGE value="fix:列表整理" /> <MESSAGE value="fix:列表整理" />
<MESSAGE value="fix:数据容器" /> <MESSAGE value="fix:数据容器" />
<MESSAGE value="fix:切片" /> <MESSAGE value="fix:切片" />
<option name="LAST_COMMIT_MESSAGE" value="fix:切片" /> <MESSAGE value="fix:python扩展模块" />
<option name="LAST_COMMIT_MESSAGE" value="fix:python扩展模块" />
</component> </component>
<component name="XDebuggerManager"> <component name="XDebuggerManager">
<breakpoint-manager> <breakpoint-manager>
...@@ -462,16 +437,18 @@ ...@@ -462,16 +437,18 @@
<SUITE FILE_PATH="coverage/python_demo$02_.coverage" NAME="02_文件读取的课后练习 Coverage Results" MODIFIED="1723385849610" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/07_文件操作" /> <SUITE FILE_PATH="coverage/python_demo$02_.coverage" NAME="02_文件读取的课后练习 Coverage Results" MODIFIED="1723385849610" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/07_文件操作" />
<SUITE FILE_PATH="coverage/python_demo$06_.coverage" NAME="06_字符串 Coverage Results" MODIFIED="1722356944560" 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$06_.coverage" NAME="06_字符串 Coverage Results" MODIFIED="1722356944560" 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$05_tuple.coverage" NAME="05_tuple元组 Coverage Results" MODIFIED="1722347989141" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/06_数据容器/03-元组" /> <SUITE FILE_PATH="coverage/python_demo$05_tuple.coverage" NAME="05_tuple元组 Coverage Results" MODIFIED="1722347989141" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/06_数据容器/03-元组" />
<SUITE FILE_PATH="coverage/python_demo$10__os.coverage" NAME="10_扩展_os Coverage Results" MODIFIED="1723518406359" 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_06.coverage" NAME="09_扩展_random_06 Coverage Results" MODIFIED="1723518178217" 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_06.coverage" NAME="09_扩展_random_06 Coverage Results" MODIFIED="1723518178217" 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_.coverage" NAME="09_变量作用域 Coverage Results" MODIFIED="1722328865411" 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_.coverage" NAME="09_变量作用域 Coverage Results" MODIFIED="1722328865411" 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$test_04.coverage" NAME="test_04 Coverage Results" MODIFIED="1722087268647" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/06_函数进阶" /> <SUITE FILE_PATH="coverage/python_demo$test_04.coverage" NAME="test_04 Coverage Results" MODIFIED="1722087268647" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/06_函数进阶" />
<SUITE FILE_PATH="coverage/python_demo$test_01.coverage" NAME="test_01 Coverage Results" MODIFIED="1722357545208" 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_01.coverage" NAME="test_01 Coverage Results" MODIFIED="1722357545208" 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$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="1723518258419" 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="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$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$01_while_1_100.coverage" NAME="01_while循环练习题_求1-100的和 Coverage Results" MODIFIED="1721555528261" 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$01_while_1_100.coverage" NAME="01_while循环练习题_求1-100的和 Coverage Results" MODIFIED="1721555528261" 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$04_.coverage" NAME="04_文件的追加写入 Coverage Results" MODIFIED="1723386321767" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/07_文件操作" /> <SUITE FILE_PATH="coverage/python_demo$04_.coverage" NAME="04_文件的追加写入 Coverage Results" MODIFIED="1723386321767" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/07_文件操作" />
<SUITE FILE_PATH="coverage/python_demo$02_list.coverage" NAME="02_list列表的常用操作 Coverage Results" MODIFIED="1722090069101" 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$02_list.coverage" NAME="02_list列表的常用操作 Coverage Results" MODIFIED="1722090069101" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/05_数据容器" />
...@@ -488,11 +465,14 @@ ...@@ -488,11 +465,14 @@
<SUITE FILE_PATH="coverage/python_demo$06_for_a.coverage" NAME="06_for循环练习题-数一数有几个a Coverage Results" MODIFIED="1721556053815" 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$06_for_a.coverage" NAME="06_for循环练习题-数一数有几个a Coverage Results" MODIFIED="1721556053815" 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$13_.coverage" NAME="13_字典的常用操作 Coverage Results" MODIFIED="1722349584295" 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$13_.coverage" NAME="13_字典的常用操作 Coverage Results" MODIFIED="1722349584295" 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$10_for.coverage" NAME="10_for循环打印九九乘法表 Coverage Results" MODIFIED="1721556392784" 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$10_for.coverage" NAME="10_for循环打印九九乘法表 Coverage Results" MODIFIED="1721556392784" 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$01_json.coverage" NAME="01_json数据格式 Coverage Results" MODIFIED="1723604044697" 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$09__random_03.coverage" NAME="09_扩展_random_03 Coverage Results" MODIFIED="1723516805975" 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_03.coverage" NAME="09_扩展_random_03 Coverage Results" MODIFIED="1723516805975" 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$07_for.coverage" NAME="07_for循环的基础语法 Coverage Results" MODIFIED="1721556157758" 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$07_for.coverage" NAME="07_for循环的基础语法 Coverage Results" MODIFIED="1721556157758" 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_.coverage" NAME="03_异常的传递 Coverage Results" MODIFIED="1723516024743" 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$03_.coverage" NAME="03_异常的传递 Coverage Results" MODIFIED="1723516024743" 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$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_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_.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
...@@ -14,10 +14,10 @@ line.add_yaxis("GDP", [30, 20, 10]) ...@@ -14,10 +14,10 @@ line.add_yaxis("GDP", [30, 20, 10])
# 设置全局配置项set_global_opts来设置, # 设置全局配置项set_global_opts来设置,
line.set_global_opts( line.set_global_opts(
title_opts=TitleOpts(title="GDP展示", pos_left="center", pos_bottom="1%"), title_opts=TitleOpts(title="GDP展示", pos_left="center", pos_bottom="1%"), # title设置
legend_opts=LegendOpts(is_show=True), legend_opts=LegendOpts(is_show=True), # 图例
toolbox_opts=ToolboxOpts(is_show=True), toolbox_opts=ToolboxOpts(is_show=True), # 工具箱
visualmap_opts=VisualMapOpts(is_show=True), visualmap_opts=VisualMapOpts(is_show=True), # 视觉映射
) )
# 通过render方法,将代码生成为图像 # 通过render方法,将代码生成为图像
......
from pyecharts.charts import Bar, Timeline
from pyecharts import options as opts
from pyecharts.globals import ThemeType
# 读取数据
f = open("/Users/qinyingjie/Documents/python-workspace/python-demo/data/动态柱状图数据/1960-2019全球GDP数据.csv",
"r",
encoding="GB2312")
data_lines = f.readlines()
# 关闭文件
f.close()
# 删除第一条数据
data_lines.pop(0)
# 将数据转换为字典存储,格式为:
# { 年份: [ [国家, gdp], [国家,gdp], ...... ], 年份: [ [国家, gdp], [国家,gdp], ...... ], ...... }
data_dict = {}
for line in data_lines:
year = int(line.split(",")[0]) # 年份
country = line.split(",")[1] # 国家
gdp = float(line.split(",")[2]) # gdp数据
try:
data_dict[year].append([country, gdp])
except KeyError:
data_dict[year] = []
data_dict[year].append([country, gdp])
# 创建时间线对象
timeline = Timeline({"theme": ThemeType.LIGHT})
# 排序年份
sorted_year_list = sorted(data_dict.keys())
for year in sorted_year_list:
data_dict[year].sort(key=lambda element: element[1], reverse=True)
# 取出本年份前8名的国家
year_data = data_dict[year][0:8]
x_data = []
y_data = []
for country_gdp in year_data:
x_data.append(country_gdp[0]) # x轴添加国家
y_data.append(int(country_gdp[1] / 100000000)) # y轴添加gdp数据
# 构建柱状图
bar = Bar()
x_data.reverse()
y_data.reverse()
colors = ["#ff4757", "#ff9f43", "#f4e925", "#90ed7d", "#58d68d", "#3dd9c7", "#3d99c7", "#9e6ffe", "#c051ec"]
bar.add_xaxis(x_data)
bar.add_yaxis(
"GDP(亿)",
y_data,
label_opts=opts.LabelOpts(position="right", font_size="15px"),
# 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轴
bar.reversal_axis()
# 设置每一年的图表的标题
bar.set_global_opts(
title_opts=opts.TitleOpts(title=f"{year}年全球前8GDP数据")
)
timeline.add(bar, str(year))
# 设置时间线自动播放
timeline.add_schema(
play_interval=1000,
is_timeline_show=True,
is_auto_play=True,
is_loop_play=False
)
# 绘图
timeline.render("1960-2019全球GDP前8国家.html")
因为 它太大了无法显示 source diff 。你可以改为 查看blob
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Awesome-pyecharts</title>
<script type="text/javascript" src="https://assets.pyecharts.org/assets/v5/echarts.min.js"></script>
</head>
<body >
<div id="e93ec85d48b54bf3a84f485e3ded8ac4" class="chart-container" style="width:900px; height:500px; "></div>
<script>
var chart_e93ec85d48b54bf3a84f485e3ded8ac4 = echarts.init(
document.getElementById('e93ec85d48b54bf3a84f485e3ded8ac4'), 'white', {renderer: 'canvas'});
var option_e93ec85d48b54bf3a84f485e3ded8ac4 = {
"animation": true,
"animationThreshold": 2000,
"animationDuration": 1000,
"animationEasing": "cubicOut",
"animationDelay": 0,
"animationDurationUpdate": 300,
"animationEasingUpdate": "cubicOut",
"animationDelayUpdate": 0,
"aria": {
"enabled": false
},
"color": [
"#5470c6",
"#91cc75",
"#fac858",
"#ee6666",
"#73c0de",
"#3ba272",
"#fc8452",
"#9a60b4",
"#ea7ccc"
],
"series": [
{
"type": "line",
"name": "GDP",
"connectNulls": false,
"xAxisIndex": 0,
"symbolSize": 4,
"showSymbol": true,
"smooth": false,
"clip": true,
"step": false,
"data": [
[
"\u4e2d\u56fd",
30
],
[
"\u7f8e\u56fd",
20
],
[
"\u82f1\u56fd",
10
]
],
"hoverAnimation": true,
"label": {
"show": true,
"margin": 8
},
"logBase": 10,
"seriesLayoutBy": "column",
"lineStyle": {
"show": true,
"width": 1,
"opacity": 1,
"curveness": 0,
"type": "solid"
},
"areaStyle": {
"opacity": 0
},
"zlevel": 0,
"z": 0
}
],
"legend": [
{
"data": [
"GDP"
],
"selected": {},
"show": true,
"padding": 5,
"itemGap": 10,
"itemWidth": 25,
"itemHeight": 14,
"backgroundColor": "transparent",
"borderColor": "#ccc",
"borderWidth": 1,
"borderRadius": 0,
"pageButtonItemGap": 5,
"pageButtonPosition": "end",
"pageFormatter": "{current}/{total}",
"pageIconColor": "#2f4554",
"pageIconInactiveColor": "#aaa",
"pageIconSize": 15,
"animationDurationUpdate": 800,
"selector": false,
"selectorPosition": "auto",
"selectorItemGap": 7,
"selectorButtonGap": 10
}
],
"tooltip": {
"show": true,
"trigger": "item",
"triggerOn": "mousemove|click",
"axisPointer": {
"type": "line"
},
"showContent": true,
"alwaysShowContent": false,
"showDelay": 0,
"hideDelay": 100,
"enterable": false,
"confine": false,
"appendToBody": false,
"transitionDuration": 0.4,
"textStyle": {
"fontSize": 14
},
"borderWidth": 0,
"padding": 5,
"order": "seriesAsc"
},
"xAxis": [
{
"show": true,
"scale": false,
"nameLocation": "end",
"nameGap": 15,
"gridIndex": 0,
"inverse": false,
"offset": 0,
"splitNumber": 5,
"minInterval": 0,
"splitLine": {
"show": true,
"lineStyle": {
"show": true,
"width": 1,
"opacity": 1,
"curveness": 0,
"type": "solid"
}
},
"data": [
"\u4e2d\u56fd",
"\u7f8e\u56fd",
"\u82f1\u56fd"
]
}
],
"yAxis": [
{
"show": true,
"scale": false,
"nameLocation": "end",
"nameGap": 15,
"gridIndex": 0,
"inverse": false,
"offset": 0,
"splitNumber": 5,
"minInterval": 0,
"splitLine": {
"show": true,
"lineStyle": {
"show": true,
"width": 1,
"opacity": 1,
"curveness": 0,
"type": "solid"
}
}
}
],
"title": [
{
"show": true,
"text": "GDP\u5c55\u793a",
"target": "blank",
"subtarget": "blank",
"left": "center",
"bottom": "1%",
"padding": 5,
"itemGap": 10,
"textAlign": "auto",
"textVerticalAlign": "auto",
"triggerEvent": false
}
],
"toolbox": {
"show": true,
"orient": "horizontal",
"itemSize": 15,
"itemGap": 10,
"left": "80%",
"feature": {
"saveAsImage": {
"type": "png",
"backgroundColor": "auto",
"connectedBackgroundColor": "#fff",
"show": true,
"title": "\u4fdd\u5b58\u4e3a\u56fe\u7247",
"pixelRatio": 1
},
"restore": {
"show": true,
"title": "\u8fd8\u539f"
},
"dataView": {
"show": true,
"title": "\u6570\u636e\u89c6\u56fe",
"readOnly": false,
"lang": [
"\u6570\u636e\u89c6\u56fe",
"\u5173\u95ed",
"\u5237\u65b0"
],
"backgroundColor": "#fff",
"textareaColor": "#fff",
"textareaBorderColor": "#333",
"textColor": "#000",
"buttonColor": "#c23531",
"buttonTextColor": "#fff"
},
"dataZoom": {
"show": true,
"title": {
"zoom": "\u533a\u57df\u7f29\u653e",
"back": "\u533a\u57df\u7f29\u653e\u8fd8\u539f"
},
"icon": {},
"filterMode": "filter"
},
"magicType": {
"show": true,
"type": [
"line",
"bar",
"stack",
"tiled"
],
"title": {
"line": "\u5207\u6362\u4e3a\u6298\u7ebf\u56fe",
"bar": "\u5207\u6362\u4e3a\u67f1\u72b6\u56fe",
"stack": "\u5207\u6362\u4e3a\u5806\u53e0",
"tiled": "\u5207\u6362\u4e3a\u5e73\u94fa"
},
"icon": {}
}
}
},
"visualMap": {
"show": true,
"type": "continuous",
"min": 0,
"max": 100,
"inRange": {
"color": [
"#50a3ba",
"#eac763",
"#d94e5d"
]
},
"calculable": true,
"inverse": false,
"splitNumber": 5,
"hoverLink": true,
"orient": "vertical",
"padding": 5,
"showLabel": true,
"itemWidth": 20,
"itemHeight": 140,
"borderWidth": 0
}
};
chart_e93ec85d48b54bf3a84f485e3ded8ac4.setOption(option_e93ec85d48b54bf3a84f485e3ded8ac4);
</script>
</body>
</html>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册