Title: format setting error · Issue #468 · proplot-dev/proplot · GitHub
Open Graph Title: format setting error · Issue #468 · proplot-dev/proplot
X Title: format setting error · Issue #468 · proplot-dev/proplot
Description: Description I'm not sure if this is a bug. When I want to set the format in a loop, this exception occurs. Steps to reproduce fig = pplt.figure(space=0.8 ,refwidth='18em', wspace=2.6, hspace=3, refaspect = 0.618*2,span=False,sharey=False...
Open Graph Description: Description I'm not sure if this is a bug. When I want to set the format in a loop, this exception occurs. Steps to reproduce fig = pplt.figure(space=0.8 ,refwidth='18em', wspace=2.6, hspace=3, ref...
X Description: Description I'm not sure if this is a bug. When I want to set the format in a loop, this exception occurs. Steps to reproduce fig = pplt.figure(space=0.8 ,refwidth='18em', wspace=2.6, h...
Opengraph URL: https://github.com/proplot-dev/proplot/issues/468
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"format setting error","articleBody":"\u003c!-- Thanks for helping us make proplot a better package! If this is a bug report, please use the template provided below. If this is a feature request, you can delete the template text (just try to be descriptive with your request). --\u003e\r\n\r\n### Description\r\nI'm not sure if this is a bug. When I want to set the format in a loop, this exception occurs.\r\n\u003cimg width=\"835\" alt=\"image\" src=\"https://github.com/user-attachments/assets/1d6d270f-7d74-4467-8e04-470bc693f3d0\"\u003e\r\n\r\n### Steps to reproduce\r\n\r\n```python\r\nfig = pplt.figure(space=0.8 ,refwidth='18em', wspace=2.6, hspace=3, refaspect = 0.618*2,span=False,sharey=False,sharex=False)\r\nfor i,num in enumerate(num_list):\r\n data = np.load(f'/notebook_workspace/dyq/dianji_project/result/feature_{num}.npy')\r\n label = np.load(f'/notebook_workspace/dyq/dianji_project/result/label_{num}.npy').reshape(-1)\r\n data = data.reshape(-1,5*128)\r\n # print(data.shape)\r\n x,y = TSNE(data)\r\n ax=fig.subplot(2,3,i+1)\r\n ax.scatter(x,y,c=label,s=2,a=0.8)\r\n fig.format(title=subtitle[i],fontsize=12)\r\n # ax.set_title(f'{subtitle[i]}')\r\n```\r\n\r\n\r\n### Proplot version\r\n\u003cimg width=\"349\" alt=\"image\" src=\"https://github.com/user-attachments/assets/b46990c5-d94a-4265-a2d7-98407b3f23a7\"\u003e\r\n\r\n\r\nmatplotlib 3.8.0\r\nproplot 0.9.91\r\n","author":{"url":"https://github.com/Duanclub1996","@type":"Person","name":"Duanclub1996"},"datePublished":"2024-11-08T08:08:10.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/468/proplot/issues/468"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:df860424-a6db-f135-a749-635d79da0993 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B42E:3E41F6:9877D4:D4A5A7:697A70CB |
| html-safe-nonce | 14a2c3dac10601a4961fe060c5a61348d4a505b9f7cef744ca9ad9f9ae04c0cc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNDJFOjNFNDFGNjo5ODc3RDQ6RDRBNUE3OjY5N0E3MENCIiwidmlzaXRvcl9pZCI6IjY4OTA0NjMyOTY1NjI1NTcxMzEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 38629b69e4ea5407f52b23d16cf252ff5aed97ca88dfc03307b8ab6f626e993c |
| hovercard-subject-tag | issue:2643227002 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/proplot-dev/proplot/468/issue_layout |
| twitter:image | https://opengraph.githubassets.com/af1fc1e5e696d44d94901a3ee4e23245801619d9f7e1a5d323088a5d9c605b03/proplot-dev/proplot/issues/468 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/af1fc1e5e696d44d94901a3ee4e23245801619d9f7e1a5d323088a5d9c605b03/proplot-dev/proplot/issues/468 |
| og:image:alt | Description I'm not sure if this is a bug. When I want to set the format in a loop, this exception occurs. Steps to reproduce fig = pplt.figure(space=0.8 ,refwidth='18em', wspace=2.6, hspace=3, ref... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Duanclub1996 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 90af392c4422c0519eb9d3bf73d4a19bcd295cce41ce316abc60c8399f996938 |
| turbo-cache-control | no-preview |
| go-import | github.com/proplot-dev/proplot git https://github.com/proplot-dev/proplot.git |
| octolytics-dimension-user_id | 108025793 |
| octolytics-dimension-user_login | proplot-dev |
| octolytics-dimension-repository_id | 113293661 |
| octolytics-dimension-repository_nwo | proplot-dev/proplot |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 113293661 |
| octolytics-dimension-repository_network_root_nwo | proplot-dev/proplot |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4c08209263bbbf322ab1921dc4539a6bfc158b1f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width