-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
1,023 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,277 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
|
||
|
||
|
||
<!-- 渲染优化 --> | ||
<meta name="renderer" content="webkit"> | ||
<meta name="force-rendering" content="webkit"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"> | ||
<meta name="HandheldFriendly" content="True" > | ||
<meta name="apple-mobile-web-app-capable" content="yes"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> | ||
|
||
<!--icon--> | ||
|
||
|
||
<link rel="shortcut icon" href="/images/favicon.ico"> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- meta --> | ||
|
||
|
||
<title>Archive: 2023/10 | Syize の blog</title> | ||
|
||
|
||
|
||
|
||
|
||
<!-- OpenGraph --> | ||
|
||
<meta property="og:type" content="website"> | ||
<meta property="og:title" content="Syize の blog"> | ||
<meta property="og:url" content="https://blog.syize.cn/archives/2023/10/index.html"> | ||
<meta property="og:site_name" content="Syize の blog"> | ||
<meta property="og:locale" content="en_US"> | ||
<meta property="article:author" content="Syize"> | ||
<meta name="twitter:card" content="summary_large_image"> | ||
|
||
|
||
|
||
<link rel="stylesheet" href="/css/style/main.css"> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<link rel="stylesheet" href="/css/style/dark.css"> | ||
|
||
|
||
<script src="/js/darkmode.js"></script> | ||
|
||
|
||
|
||
|
||
|
||
<!-- custom head --> | ||
|
||
<meta name="generator" content="Hexo 5.4.2"></head> | ||
|
||
<body> | ||
<div id="app" tabindex="-1"> | ||
<header class="header"> | ||
<div class="header__left"> | ||
<a href="/" class="button"> | ||
<span class="logo__text">Syize の blog</span> | ||
</a> | ||
</div> | ||
<div class="header__right"> | ||
|
||
<div class="navbar__menus"> | ||
|
||
<a href="/" class="navbar-menu button">home</a> | ||
|
||
<a href="/tags/" class="navbar-menu button">tags</a> | ||
|
||
<a href="/archives/" class="navbar-menu button">archives</a> | ||
|
||
<a href="/categories/" class="navbar-menu button">categories</a> | ||
|
||
<a href="/about/" class="navbar-menu button">about</a> | ||
|
||
<a href="/friend/" class="navbar-menu button">links</a> | ||
|
||
</div> | ||
|
||
|
||
|
||
|
||
|
||
|
||
<a href="javaScript:void(0);" id="btn-toggle-dark"> | ||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path></svg> | ||
</a> | ||
|
||
|
||
|
||
<a class="dropdown-icon button" id="btn-dropdown" tabindex="0"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" width='24' height='24' fill="none" stroke="currentColor" stroke-width="0.7" stroke-linecap="round" stroke-linejoin="round"><path fill="currentColor" d="M3.314,4.8h13.372c0.41,0,0.743-0.333,0.743-0.743c0-0.41-0.333-0.743-0.743-0.743H3.314c-0.41,0-0.743,0.333-0.743,0.743C2.571,4.467,2.904,4.8,3.314,4.8z M16.686,15.2H3.314c-0.41,0-0.743,0.333-0.743,0.743s0.333,0.743,0.743,0.743h13.372c0.41,0,0.743-0.333,0.743-0.743S17.096,15.2,16.686,15.2z M16.686,9.257H3.314c-0.41,0-0.743,0.333-0.743,0.743s0.333,0.743,0.743,0.743h13.372c0.41,0,0.743-0.333,0.743-0.743S17.096,9.257,16.686,9.257z"></path></svg></a> | ||
<div class="dropdown-menus" id="dropdown-menus"> | ||
|
||
<a href="/" class="dropdown-menu button">home</a> | ||
|
||
<a href="/tags/" class="dropdown-menu button">tags</a> | ||
|
||
<a href="/archives/" class="dropdown-menu button">archives</a> | ||
|
||
<a href="/categories/" class="dropdown-menu button">categories</a> | ||
|
||
<a href="/about/" class="dropdown-menu button">about</a> | ||
|
||
<a href="/friend/" class="dropdown-menu button">links</a> | ||
|
||
</div> | ||
|
||
</div> | ||
</header> | ||
|
||
|
||
<div class="cover"> | ||
<div class="cover__logo"> | ||
|
||
<img no-lazy alt="author Image" class="cover__avatar" src="/images/avatar.png"> | ||
|
||
</div> | ||
|
||
|
||
<div class="cover__intro"> | ||
<p>欲望大过了能力,由此产生了焦虑</p> | ||
|
||
</div> | ||
|
||
</div> | ||
|
||
|
||
<main class='main'> | ||
|
||
|
||
<div class="post-list"> | ||
|
||
|
||
<div class='post-entry content-card'> | ||
<div class="post-entry__header"></div> | ||
<div class="post-entry__content"> | ||
<h2 class="post-entry__title"> | ||
matplotlib中非对称的Colormap | ||
</h2> | ||
|
||
<p>女朋友说想画一个非对称的Colormap的图出来(也即0还是对应于白色,但是两侧的数值范围是不一样的),于是就研究了一下,最后的效果如下</p> | ||
<img src="/2023/10/20/asymmetrical-colormap/image-20231020110103054.png" class="" alt="image-20231020110103054"> | ||
|
||
</div> | ||
<div class="post-entry__meta"> | ||
<a href="/archives/2023/10/" class="post-meta__date button">2023-10-20</a> | ||
|
||
<span class="separate-dot"></span><a href="/categories/Python/" class="button">Python</a> | ||
|
||
|
||
</div> | ||
<div class="post-entry__tags"><a href="/tags/Python/" class="post-tags__link button"># Python</a></div> | ||
<a href="/2023/10/20/asymmetrical-colormap/" class="post-entry__link">matplotlib中非对称的Colormap</a> | ||
</div> | ||
|
||
|
||
</div> | ||
|
||
|
||
|
||
|
||
</main> | ||
|
||
<footer class="footer"> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<p class="footer-copyright"> | ||
Copyright © 2021 - 2023 <a href="/">Syize の blog</a> | ||
</p> | ||
|
||
|
||
<p>Powered by <a href="https://hexo.io" target="_blank">Hexo</a> | Theme - <a href="https://github.com/ChrAlpha/hexo-theme-cards" target="_blank">Cards</a></p> | ||
</footer> | ||
|
||
</div> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js"></script> | ||
|
||
|
||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/[email protected]/dist/jquery.fancybox.min.css"> | ||
|
||
|
||
<script src="https://cdn.jsdelivr.net/npm/@fancyapps/[email protected]/dist/jquery.fancybox.min.js"></script> | ||
|
||
<script> | ||
let lazyloadT = Boolean('false'), | ||
auto_fancybox = Boolean('false') | ||
if (auto_fancybox) { | ||
$(".post__content").find('img').each(function () { | ||
var element = document.createElement("a"); | ||
$(element).attr("data-fancybox", "gallery"); | ||
$(element).attr("href", $(this).attr("src")); | ||
if (lazyloadT) { | ||
$(element).attr("href", $(this).attr("data-srcset")); | ||
} | ||
$(this).wrap(element); | ||
}); | ||
} else { | ||
$(".post__content").find("fancybox").find('img').each(function () { | ||
var element = document.createElement("a"); | ||
$(element).attr("data-fancybox", "gallery"); | ||
$(element).attr("href", $(this).attr("src")); | ||
if (lazyloadT) { | ||
$(element).attr("href", $(this).attr("data-srcset")); | ||
} | ||
$(this).wrap(element); | ||
}); | ||
} | ||
</script> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<script src='https://cdn.jsdelivr.net/npm/[email protected]/dist/mermaid.min.js'></script> | ||
<script> | ||
mermaid.initialize(JSON.stringify('')); | ||
</script> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.