{"action":"created","issue":{"url":"https://api.github.com/repos/CyanideCN/PyCINRAD/issues/17","repository_url":"https://api.github.com/repos/CyanideCN/PyCINRAD","labels_url":"https://api.github.com/repos/CyanideCN/PyCINRAD/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/CyanideCN/PyCINRAD/issues/17/comments","events_url":"https://api.github.com/repos/CyanideCN/PyCINRAD/issues/17/events","html_url":"https://github.com/CyanideCN/PyCINRAD/issues/17","id":363570094,"node_id":"MDU6SXNzdWUzNjM1NzAwOTQ=","number":17,"title":"自定义图片保存路径","user":{"login":"CyanideCN","id":40656756,"node_id":"MDQ6VXNlcjQwNjU2NzU2","avatar_url":"https://avatars1.githubusercontent.com/u/40656756?v=4","gravatar_id":"","url":"https://api.github.com/users/CyanideCN","html_url":"https://github.com/CyanideCN","followers_url":"https://api.github.com/users/CyanideCN/followers","following_url":"https://api.github.com/users/CyanideCN/following{/other_user}","gists_url":"https://api.github.com/users/CyanideCN/gists{/gist_id}","starred_url":"https://api.github.com/users/CyanideCN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CyanideCN/subscriptions","organizations_url":"https://api.github.com/users/CyanideCN/orgs","repos_url":"https://api.github.com/users/CyanideCN/repos","events_url":"https://api.github.com/users/CyanideCN/events{/privacy}","received_events_url":"https://api.github.com/users/CyanideCN/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-25T13:08:36Z","updated_at":"2018-09-26T06:57:48Z","closed_at":null,"author_association":"OWNER","body":"延续 #16 的讨论。\r\n在注释掉`save`函数之后，`plt.savefig`所得到的图片会出现文字错位的现象。"},"comment":{"url":"https://api.github.com/repos/CyanideCN/PyCINRAD/issues/comments/424606582","html_url":"https://github.com/CyanideCN/PyCINRAD/issues/17#issuecomment-424606582","issue_url":"https://api.github.com/repos/CyanideCN/PyCINRAD/issues/17","id":424606582,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNDYwNjU4Mg==","user":{"login":"CyanideCN","id":40656756,"node_id":"MDQ6VXNlcjQwNjU2NzU2","avatar_url":"https://avatars1.githubusercontent.com/u/40656756?v=4","gravatar_id":"","url":"https://api.github.com/users/CyanideCN","html_url":"https://github.com/CyanideCN","followers_url":"https://api.github.com/users/CyanideCN/followers","following_url":"https://api.github.com/users/CyanideCN/following{/other_user}","gists_url":"https://api.github.com/users/CyanideCN/gists{/gist_id}","starred_url":"https://api.github.com/users/CyanideCN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CyanideCN/subscriptions","organizations_url":"https://api.github.com/users/CyanideCN/orgs","repos_url":"https://api.github.com/users/CyanideCN/repos","events_url":"https://api.github.com/users/CyanideCN/events{/privacy}","received_events_url":"https://api.github.com/users/CyanideCN/received_events","type":"User","site_admin":false},"created_at":"2018-09-26T06:57:48Z","updated_at":"2018-09-26T06:57:48Z","author_association":"OWNER","body":"@shevawen 找到一个问题，在每次运行结束之后设置好的环境变量会消失，在下一次使用的时候又会切换到用户目录。\r\n```python\r\nimport os\r\nos.environ['CINRAD_PATH']\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\n  File \"C:\\Users\\27455\\AppData\\Local\\Programs\\Python\\Python36\\lib\\os.py\", line 669, in __getitem__\r\n    raise KeyError(key) from None\r\nKeyError: 'CINRAD_PATH'\r\nos.getenv('CINRAD_PATH')\r\nimport cinrad\r\nos.environ['CINRAD_PATH']\r\n'C:\\\\Users\\\\27455\\\\PyCINRAD\\\\'\r\n```"}}
{"actor":{"display_login":"CyanideCN"}}